

<!DOCTYPE html>
<html class="writer-html5" lang="en" >
<head>
  <meta charset="utf-8">
  
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  
  <title>Chart (lv_chart) &mdash; LVGL  documentation</title>
  

  
  <link rel="stylesheet" href="../_static/css/theme.css" type="text/css" />
  <link rel="stylesheet" href="../_static/pygments.css" type="text/css" />
  <link rel="stylesheet" href="../_static/css/custom.css" type="text/css" />
  <link rel="stylesheet" href="../_static/css/fontawesome.min.css" type="text/css" />

  
  
    <link rel="shortcut icon" href="../_static/favicon.png"/>
  
  
  

  
  <!--[if lt IE 9]>
    <script src="../_static/js/html5shiv.min.js"></script>
  <![endif]-->
  
    
      <script type="text/javascript" id="documentation_options" data-url_root="../" src="../_static/documentation_options.js"></script>
        <script src="../_static/jquery.js"></script>
        <script src="../_static/underscore.js"></script>
        <script src="../_static/doctools.js"></script>
    
    <script type="text/javascript" src="../_static/js/theme.js"></script>

    
    <link rel="index" title="Index" href="../genindex.html" />
    <link rel="search" title="Search" href="../search.html" />
    <link rel="next" title="Container (lv_cont)" href="cont.html" />
    <link rel="prev" title="Checkbox (lv_cb)" href="checkbox.html" />
 
<!-- Global site tag (gtag.js) - Google Analytics -->
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-78811084-3"></script>
<script>
  window.dataLayer = window.dataLayer || [];
  function gtag(){dataLayer.push(arguments);}
  gtag('js', new Date());

	gtag('config', 'UA-78811084-3', { 'anonymize_ip': true });
</script>

</head>

<body class="wy-body-for-nav">

   
  <div class="wy-grid-for-nav">
    
    <nav data-toggle="wy-nav-shift" class="wy-nav-side">
      <div class="wy-side-scroll">
        <div class="wy-side-nav-search" >
          

          
            <a href="../index.html">
          

          
            
            <img src="../_static/logo_lvgl.png" class="logo" alt="Logo"/>
          
          </a>

          
            
            
              <div class="version">
                v7.11.0-dev
              </div>
            
          

          
<div role="search">
  <form id="rtd-search-form" class="wy-form" action="../search.html" method="get">
    <input type="text" name="q" placeholder="Search docs" />
    <input type="hidden" name="check_keywords" value="yes" />
    <input type="hidden" name="area" value="default" />
  </form>
</div>

          
        </div>

        
        <div class="wy-menu wy-menu-vertical" data-spy="affix" role="navigation" aria-label="main navigation">
          
            
            
              
            
            
              <ul class="current">
<li class="toctree-l1"><a class="reference internal" href="../intro/index.html">Introduction</a><ul>
<li class="toctree-l2"><a class="reference internal" href="../intro/index.html#key-features">Key features</a></li>
<li class="toctree-l2"><a class="reference internal" href="../intro/index.html#requirements">Requirements</a></li>
<li class="toctree-l2"><a class="reference internal" href="../intro/index.html#license">License</a></li>
<li class="toctree-l2"><a class="reference internal" href="../intro/index.html#repository-layout">Repository layout</a></li>
<li class="toctree-l2"><a class="reference internal" href="../intro/index.html#release-policy">Release policy</a><ul>
<li class="toctree-l3"><a class="reference internal" href="../intro/index.html#branches">Branches</a></li>
<li class="toctree-l3"><a class="reference internal" href="../intro/index.html#release-cycle">Release cycle</a></li>
<li class="toctree-l3"><a class="reference internal" href="../intro/index.html#tags">Tags</a></li>
<li class="toctree-l3"><a class="reference internal" href="../intro/index.html#changelog">Changelog</a></li>
<li class="toctree-l3"><a class="reference internal" href="../intro/index.html#side-projects">Side projects</a></li>
<li class="toctree-l3"><a class="reference internal" href="../intro/index.html#version-support">Version support</a></li>
</ul>
</li>
<li class="toctree-l2"><a class="reference internal" href="../intro/index.html#faq">FAQ</a><ul>
<li class="toctree-l3"><a class="reference internal" href="../intro/index.html#where-can-i-ask-questions">Where can I ask questions?</a></li>
<li class="toctree-l3"><a class="reference internal" href="../intro/index.html#is-my-mcu-hardware-supported">Is my MCU/hardware supported?</a></li>
<li class="toctree-l3"><a class="reference internal" href="../intro/index.html#is-my-display-supported">Is my display supported?</a></li>
<li class="toctree-l3"><a class="reference internal" href="../intro/index.html#nothing-happens-my-display-driver-is-not-called-what-have-i-missed">Nothing happens, my display driver is not called. What have I missed?</a></li>
<li class="toctree-l3"><a class="reference internal" href="../intro/index.html#why-the-display-driver-is-called-only-once-only-the-upper-part-of-the-display-is-refreshed">Why the display driver is called only once? Only the upper part of the display is refreshed.</a></li>
<li class="toctree-l3"><a class="reference internal" href="../intro/index.html#why-i-see-only-garbage-on-the-screen">Why I see only garbage on the screen?</a></li>
<li class="toctree-l3"><a class="reference internal" href="../intro/index.html#why-i-see-non-sense-colors-on-the-screen">Why I see non-sense colors on the screen?</a></li>
<li class="toctree-l3"><a class="reference internal" href="../intro/index.html#how-to-speed-up-my-ui">How to speed up my UI?</a></li>
<li class="toctree-l3"><a class="reference internal" href="../intro/index.html#how-to-reduce-flash-rom-usage">How to reduce flash/ROM usage?</a></li>
<li class="toctree-l3"><a class="reference internal" href="../intro/index.html#how-to-reduce-the-ram-usage">How to reduce the RAM usage</a></li>
<li class="toctree-l3"><a class="reference internal" href="../intro/index.html#how-to-work-with-an-operating-system">How to work with an operating system?</a></li>
</ul>
</li>
</ul>
</li>
<li class="toctree-l1"><a class="reference internal" href="../get-started/index.html">Get started</a><ul>
<li class="toctree-l2"><a class="reference internal" href="../get-started/quick-overview.html">Quick overview</a><ul>
<li class="toctree-l3"><a class="reference internal" href="../get-started/quick-overview.html#get-started-in-a-simulator">Get started in a simulator</a></li>
<li class="toctree-l3"><a class="reference internal" href="../get-started/quick-overview.html#add-lvgl-into-your-project">Add LVGL into your project</a></li>
<li class="toctree-l3"><a class="reference internal" href="../get-started/quick-overview.html#learn-the-basics">Learn the basics</a><ul>
<li class="toctree-l4"><a class="reference internal" href="../get-started/quick-overview.html#widgets">Widgets</a></li>
<li class="toctree-l4"><a class="reference internal" href="../get-started/quick-overview.html#events">Events</a></li>
<li class="toctree-l4"><a class="reference internal" href="../get-started/quick-overview.html#parts">Parts</a></li>
<li class="toctree-l4"><a class="reference internal" href="../get-started/quick-overview.html#states">States</a></li>
<li class="toctree-l4"><a class="reference internal" href="../get-started/quick-overview.html#styles">Styles</a></li>
<li class="toctree-l4"><a class="reference internal" href="../get-started/quick-overview.html#themes">Themes</a></li>
</ul>
</li>
<li class="toctree-l3"><a class="reference internal" href="../get-started/quick-overview.html#examples">Examples</a><ul>
<li class="toctree-l4"><a class="reference internal" href="../get-started/quick-overview.html#button-with-label">Button with label</a></li>
<li class="toctree-l4"><a class="reference internal" href="../get-started/quick-overview.html#styling-buttons">Styling buttons</a></li>
<li class="toctree-l4"><a class="reference internal" href="../get-started/quick-overview.html#slider-and-alignment">Slider and alignment</a></li>
</ul>
</li>
<li class="toctree-l3"><a class="reference internal" href="../get-started/quick-overview.html#micropython">Micropython</a></li>
</ul>
</li>
<li class="toctree-l2"><a class="reference internal" href="../get-started/pc-simulator.html">Simulator on PC</a><ul>
<li class="toctree-l3"><a class="reference internal" href="../get-started/pc-simulator.html#select-an-ide">Select an IDE</a></li>
<li class="toctree-l3"><a class="reference internal" href="../get-started/pc-simulator.html#set-up-eclipse-cdt">Set-up Eclipse CDT</a><ul>
<li class="toctree-l4"><a class="reference internal" href="../get-started/pc-simulator.html#install-eclipse-cdt">Install Eclipse CDT</a></li>
<li class="toctree-l4"><a class="reference internal" href="../get-started/pc-simulator.html#install-sdl-2">Install SDL 2</a></li>
<li class="toctree-l4"><a class="reference internal" href="../get-started/pc-simulator.html#pre-configured-project">Pre-configured project</a></li>
<li class="toctree-l4"><a class="reference internal" href="../get-started/pc-simulator.html#add-the-pre-configured-project-to-eclipse-cdt">Add the pre-configured project to Eclipse CDT</a></li>
<li class="toctree-l4"><a class="reference internal" href="../get-started/pc-simulator.html#compile-and-run">Compile and Run</a></li>
</ul>
</li>
</ul>
</li>
<li class="toctree-l2"><a class="reference internal" href="../get-started/stm32.html">STM32</a></li>
<li class="toctree-l2"><a class="reference internal" href="../get-started/nxp.html">NXP</a><ul>
<li class="toctree-l3"><a class="reference internal" href="../get-started/nxp.html#creating-new-project-with-lvgl">Creating new project with LVGL</a></li>
<li class="toctree-l3"><a class="reference internal" href="../get-started/nxp.html#adding-hw-acceleration-for-nxp-imx-rt-platforms-using-pxp-pixel-pipeline-engine-for-existing-projects">Adding HW acceleration for NXP iMX RT platforms using PXP (PiXel Pipeline) engine for existing projects</a><ul>
<li class="toctree-l4"><a class="reference internal" href="../get-started/nxp.html#features-supported">Features supported:</a></li>
<li class="toctree-l4"><a class="reference internal" href="../get-started/nxp.html#basic-configuration">Basic configuration:</a></li>
<li class="toctree-l4"><a class="reference internal" href="../get-started/nxp.html#basic-initialization">Basic initialization:</a></li>
<li class="toctree-l4"><a class="reference internal" href="../get-started/nxp.html#project-setup">Project setup:</a></li>
<li class="toctree-l4"><a class="reference internal" href="../get-started/nxp.html#advanced-configuration">Advanced configuration:</a></li>
</ul>
</li>
</ul>
</li>
<li class="toctree-l2"><a class="reference internal" href="../get-started/espressif.html">Espressif (ESP32)</a><ul>
<li class="toctree-l3"><a class="reference internal" href="../get-started/espressif.html#get-the-lvgl-demo-project-for-esp32">Get the LVGL demo project for ESP32</a></li>
<li class="toctree-l3"><a class="reference internal" href="../get-started/espressif.html#use-lvgl-in-your-esp32-project">Use LVGL in your ESP32 project</a><ul>
<li class="toctree-l4"><a class="reference internal" href="../get-started/espressif.html#prerequisites">Prerequisites</a></li>
<li class="toctree-l4"><a class="reference internal" href="../get-started/espressif.html#get-lvgl">Get LVGL</a></li>
</ul>
</li>
<li class="toctree-l3"><a class="reference internal" href="../get-started/espressif.html#use-lvgl-esp32-drivers-in-your-project">Use lvgl_esp32_drivers in your project</a><ul>
<li class="toctree-l4"><a class="reference internal" href="../get-started/espressif.html#support-for-esp32-s2">Support for ESP32-S2</a></li>
</ul>
</li>
</ul>
</li>
<li class="toctree-l2"><a class="reference internal" href="../get-started/arduino.html">Arduino</a><ul>
<li class="toctree-l3"><a class="reference internal" href="../get-started/arduino.html#get-the-lvgl-ardunio-library">Get the LVGL Ardunio library</a></li>
<li class="toctree-l3"><a class="reference internal" href="../get-started/arduino.html#set-up-drivers">Set up drivers</a></li>
<li class="toctree-l3"><a class="reference internal" href="../get-started/arduino.html#configure-lvgl">Configure LVGL</a></li>
<li class="toctree-l3"><a class="reference internal" href="../get-started/arduino.html#configure-the-examples">Configure the examples</a></li>
<li class="toctree-l3"><a class="reference internal" href="../get-started/arduino.html#initialize-lvgl-and-run-an-example">Initialize LVGL and run an example</a></li>
<li class="toctree-l3"><a class="reference internal" href="../get-started/arduino.html#debugging-and-logging">Debugging and logging</a></li>
</ul>
</li>
<li class="toctree-l2"><a class="reference internal" href="../get-started/micropython.html">Micropython</a><ul>
<li class="toctree-l3"><a class="reference internal" href="../get-started/micropython.html#what-is-micropython">What is Micropython?</a><ul>
<li class="toctree-l4"><a class="reference internal" href="../get-started/micropython.html#highlights-of-micropython">Highlights of Micropython</a></li>
</ul>
</li>
<li class="toctree-l3"><a class="reference internal" href="../get-started/micropython.html#why-micropython-lvgl">Why Micropython + LVGL?</a><ul>
<li class="toctree-l4"><a class="reference internal" href="../get-started/micropython.html#here-are-some-advantages-of-using-lvgl-in-micropython">Here are some advantages of using LVGL in Micropython:</a></li>
<li class="toctree-l4"><a class="reference internal" href="../get-started/micropython.html#micropython-lvgl-could-be-used-for">Micropython + LVGL could be used for:</a></li>
</ul>
</li>
<li class="toctree-l3"><a class="reference internal" href="../get-started/micropython.html#so-what-does-it-look-like">So what does it look like?</a><ul>
<li class="toctree-l4"><a class="reference internal" href="../get-started/micropython.html#a-simple-example">A simple example</a></li>
</ul>
</li>
<li class="toctree-l3"><a class="reference internal" href="../get-started/micropython.html#how-can-i-use-it">How can I use it?</a><ul>
<li class="toctree-l4"><a class="reference internal" href="../get-started/micropython.html#online-simulator">Online Simulator</a></li>
<li class="toctree-l4"><a class="reference internal" href="../get-started/micropython.html#pc-simulator">PC Simulator</a></li>
<li class="toctree-l4"><a class="reference internal" href="../get-started/micropython.html#embedded-platform">Embedded platform</a></li>
</ul>
</li>
<li class="toctree-l3"><a class="reference internal" href="../get-started/micropython.html#where-can-i-find-more-information">Where can I find more information?</a></li>
</ul>
</li>
<li class="toctree-l2"><a class="reference internal" href="../get-started/nuttx.html">NuttX RTOS</a><ul>
<li class="toctree-l3"><a class="reference internal" href="../get-started/nuttx.html#what-is-nuttx">What is NuttX?</a><ul>
<li class="toctree-l4"><a class="reference internal" href="../get-started/nuttx.html#highlights-of-nuttx">Highlights of NuttX</a></li>
</ul>
</li>
<li class="toctree-l3"><a class="reference internal" href="../get-started/nuttx.html#why-nuttx-lvgl">Why NuttX + LVGL?</a><ul>
<li class="toctree-l4"><a class="reference internal" href="../get-started/nuttx.html#here-are-some-advantages-of-using-lvgl-in-nuttx">Here are some advantages of using LVGL in NuttX</a></li>
<li class="toctree-l4"><a class="reference internal" href="../get-started/nuttx.html#nuttx-lvgl-could-be-used-for">NuttX + LVGL could be used for</a></li>
</ul>
</li>
<li class="toctree-l3"><a class="reference internal" href="../get-started/nuttx.html#how-to-get-started-with-nuttx-and-lvgl">How to get started with NuttX and LVGL?</a><ul>
<li class="toctree-l4"><a class="reference internal" href="../get-started/nuttx.html#first-you-need-to-install-the-pre-requisite-on-your-system">First you need to install the pre-requisite on your system</a></li>
<li class="toctree-l4"><a class="reference internal" href="../get-started/nuttx.html#now-let-s-to-create-a-workspace-to-save-our-files">Now let's to create a workspace to save our files</a></li>
<li class="toctree-l4"><a class="reference internal" href="../get-started/nuttx.html#clone-the-nuttx-and-apps-repositories">Clone the NuttX and Apps repositories:</a></li>
<li class="toctree-l4"><a class="reference internal" href="../get-started/nuttx.html#configure-nuttx-to-use-the-stm32f429i-disco-board-and-the-lvgl-demo">Configure NuttX to use the stm32f429i-disco board and the LVGL Demo</a></li>
<li class="toctree-l4"><a class="reference internal" href="../get-started/nuttx.html#flashing-the-firmware-in-the-board-using-openocd">Flashing the firmware in the board using OpenOCD:</a></li>
</ul>
</li>
<li class="toctree-l3"><a class="reference internal" href="../get-started/nuttx.html#where-can-i-find-more-information">Where can I find more information?</a></li>
</ul>
</li>
</ul>
</li>
<li class="toctree-l1"><a class="reference internal" href="../porting/index.html">Porting</a><ul>
<li class="toctree-l2"><a class="reference internal" href="../porting/sys.html">System overview</a></li>
<li class="toctree-l2"><a class="reference internal" href="../porting/project.html">Set-up a project</a><ul>
<li class="toctree-l3"><a class="reference internal" href="../porting/project.html#get-the-library">Get the library</a></li>
<li class="toctree-l3"><a class="reference internal" href="../porting/project.html#configuration-file">Configuration file</a></li>
<li class="toctree-l3"><a class="reference internal" href="../porting/project.html#initialization">Initialization</a></li>
</ul>
</li>
<li class="toctree-l2"><a class="reference internal" href="../porting/display.html">Display interface</a><ul>
<li class="toctree-l3"><a class="reference internal" href="../porting/display.html#display-buffer">Display buffer</a></li>
<li class="toctree-l3"><a class="reference internal" href="../porting/display.html#display-driver">Display driver</a></li>
<li class="toctree-l3"><a class="reference internal" href="../porting/display.html#rotation">Rotation</a></li>
<li class="toctree-l3"><a class="reference internal" href="../porting/display.html#api">API</a></li>
</ul>
</li>
<li class="toctree-l2"><a class="reference internal" href="../porting/indev.html">Input device interface</a><ul>
<li class="toctree-l3"><a class="reference internal" href="../porting/indev.html#types-of-input-devices">Types of input devices</a><ul>
<li class="toctree-l4"><a class="reference internal" href="../porting/indev.html#touchpad-mouse-or-any-pointer">Touchpad, mouse or any pointer</a></li>
<li class="toctree-l4"><a class="reference internal" href="../porting/indev.html#keypad-or-keyboard">Keypad or keyboard</a></li>
<li class="toctree-l4"><a class="reference internal" href="../porting/indev.html#encoder">Encoder</a></li>
<li class="toctree-l4"><a class="reference internal" href="../porting/indev.html#button">Button</a></li>
</ul>
</li>
<li class="toctree-l3"><a class="reference internal" href="../porting/indev.html#other-features">Other features</a></li>
<li class="toctree-l3"><a class="reference internal" href="../porting/indev.html#api">API</a></li>
</ul>
</li>
<li class="toctree-l2"><a class="reference internal" href="../porting/tick.html">Tick interface</a><ul>
<li class="toctree-l3"><a class="reference internal" href="../porting/tick.html#api">API</a></li>
</ul>
</li>
<li class="toctree-l2"><a class="reference internal" href="../porting/task-handler.html">Task Handler</a></li>
<li class="toctree-l2"><a class="reference internal" href="../porting/sleep.html">Sleep management</a></li>
<li class="toctree-l2"><a class="reference internal" href="../porting/os.html">Operating system and interrupts</a><ul>
<li class="toctree-l3"><a class="reference internal" href="../porting/os.html#tasks-and-threads">Tasks and threads</a></li>
<li class="toctree-l3"><a class="reference internal" href="../porting/os.html#interrupts">Interrupts</a></li>
</ul>
</li>
<li class="toctree-l2"><a class="reference internal" href="../porting/log.html">Logging</a><ul>
<li class="toctree-l3"><a class="reference internal" href="../porting/log.html#log-level">Log level</a></li>
<li class="toctree-l3"><a class="reference internal" href="../porting/log.html#logging-with-printf">Logging with printf</a></li>
<li class="toctree-l3"><a class="reference internal" href="../porting/log.html#custom-log-function">Custom log function</a></li>
<li class="toctree-l3"><a class="reference internal" href="../porting/log.html#add-logs">Add logs</a></li>
</ul>
</li>
</ul>
</li>
<li class="toctree-l1"><a class="reference internal" href="../overview/index.html">Overview</a><ul>
<li class="toctree-l2"><a class="reference internal" href="../overview/object.html">Objects</a><ul>
<li class="toctree-l3"><a class="reference internal" href="../overview/object.html#attributes">Attributes</a><ul>
<li class="toctree-l4"><a class="reference internal" href="../overview/object.html#basic-attributes">Basic attributes</a></li>
<li class="toctree-l4"><a class="reference internal" href="../overview/object.html#specific-attributes">Specific attributes</a></li>
</ul>
</li>
<li class="toctree-l3"><a class="reference internal" href="../overview/object.html#working-mechanisms">Working mechanisms</a><ul>
<li class="toctree-l4"><a class="reference internal" href="../overview/object.html#parent-child-structure">Parent-child structure</a></li>
<li class="toctree-l4"><a class="reference internal" href="../overview/object.html#moving-together">Moving together</a></li>
<li class="toctree-l4"><a class="reference internal" href="../overview/object.html#visibility-only-on-the-parent">Visibility only on the parent</a></li>
<li class="toctree-l4"><a class="reference internal" href="../overview/object.html#create-delete-objects">Create - delete objects</a></li>
</ul>
</li>
<li class="toctree-l3"><a class="reference internal" href="../overview/object.html#screens">Screens</a><ul>
<li class="toctree-l4"><a class="reference internal" href="../overview/object.html#create-screens">Create screens</a></li>
<li class="toctree-l4"><a class="reference internal" href="../overview/object.html#get-the-active-screen">Get the active screen</a></li>
<li class="toctree-l4"><a class="reference internal" href="../overview/object.html#load-screens">Load screens</a></li>
<li class="toctree-l4"><a class="reference internal" href="../overview/object.html#handling-multiple-displays">Handling multiple displays</a></li>
</ul>
</li>
<li class="toctree-l3"><a class="reference internal" href="../overview/object.html#parts">Parts</a></li>
<li class="toctree-l3"><a class="reference internal" href="../overview/object.html#states">States</a></li>
</ul>
</li>
<li class="toctree-l2"><a class="reference internal" href="../overview/layer.html">Layers</a><ul>
<li class="toctree-l3"><a class="reference internal" href="../overview/layer.html#order-of-creation">Order of creation</a></li>
<li class="toctree-l3"><a class="reference internal" href="../overview/layer.html#bring-to-the-foreground">Bring to the foreground</a></li>
<li class="toctree-l3"><a class="reference internal" href="../overview/layer.html#top-and-sys-layers">Top and sys layers</a></li>
</ul>
</li>
<li class="toctree-l2"><a class="reference internal" href="../overview/event.html">Events</a><ul>
<li class="toctree-l3"><a class="reference internal" href="../overview/event.html#event-types">Event types</a><ul>
<li class="toctree-l4"><a class="reference internal" href="../overview/event.html#generic-events">Generic events</a></li>
<li class="toctree-l4"><a class="reference internal" href="../overview/event.html#special-events">Special events</a></li>
</ul>
</li>
<li class="toctree-l3"><a class="reference internal" href="../overview/event.html#custom-data">Custom data</a></li>
<li class="toctree-l3"><a class="reference internal" href="../overview/event.html#send-events-manually">Send events manually</a><ul>
<li class="toctree-l4"><a class="reference internal" href="../overview/event.html#arbitrary-events">Arbitrary events</a></li>
<li class="toctree-l4"><a class="reference internal" href="../overview/event.html#refresh-event">Refresh event</a></li>
</ul>
</li>
</ul>
</li>
<li class="toctree-l2"><a class="reference internal" href="../overview/style.html">Styles</a><ul>
<li class="toctree-l3"><a class="reference internal" href="../overview/style.html#states">States</a></li>
<li class="toctree-l3"><a class="reference internal" href="../overview/style.html#cascading-styles">Cascading styles</a></li>
<li class="toctree-l3"><a class="reference internal" href="../overview/style.html#inheritance">Inheritance</a></li>
<li class="toctree-l3"><a class="reference internal" href="../overview/style.html#parts">Parts</a></li>
<li class="toctree-l3"><a class="reference internal" href="../overview/style.html#initialize-styles-and-set-get-properties">Initialize styles and set/get properties</a></li>
<li class="toctree-l3"><a class="reference internal" href="../overview/style.html#managing-style-list">Managing style list</a></li>
<li class="toctree-l3"><a class="reference internal" href="../overview/style.html#local-styles">Local styles</a></li>
<li class="toctree-l3"><a class="reference internal" href="../overview/style.html#transitions">Transitions</a></li>
<li class="toctree-l3"><a class="reference internal" href="../overview/style.html#properties">Properties</a><ul>
<li class="toctree-l4"><a class="reference internal" href="../overview/style.html#mixed-properties">Mixed properties</a></li>
<li class="toctree-l4"><a class="reference internal" href="../overview/style.html#padding-and-margin-properties">Padding and margin properties</a></li>
<li class="toctree-l4"><a class="reference internal" href="../overview/style.html#background-properties">Background properties</a></li>
<li class="toctree-l4"><a class="reference internal" href="../overview/style.html#border-properties">Border properties</a></li>
<li class="toctree-l4"><a class="reference internal" href="../overview/style.html#outline-properties">Outline properties</a></li>
<li class="toctree-l4"><a class="reference internal" href="../overview/style.html#shadow-properties">Shadow properties</a></li>
<li class="toctree-l4"><a class="reference internal" href="../overview/style.html#pattern-properties">Pattern properties</a></li>
<li class="toctree-l4"><a class="reference internal" href="../overview/style.html#value-properties">Value properties</a></li>
<li class="toctree-l4"><a class="reference internal" href="../overview/style.html#text-properties">Text properties</a></li>
<li class="toctree-l4"><a class="reference internal" href="../overview/style.html#line-properties">Line properties</a></li>
<li class="toctree-l4"><a class="reference internal" href="../overview/style.html#image-properties">Image properties</a></li>
<li class="toctree-l4"><a class="reference internal" href="../overview/style.html#transition-properties">Transition properties</a></li>
<li class="toctree-l4"><a class="reference internal" href="../overview/style.html#scale-properties">Scale properties</a></li>
</ul>
</li>
<li class="toctree-l3"><a class="reference internal" href="../overview/style.html#themes">Themes</a><ul>
<li class="toctree-l4"><a class="reference internal" href="../overview/style.html#extending-themes">Extending themes</a></li>
</ul>
</li>
<li class="toctree-l3"><a class="reference internal" href="../overview/style.html#example">Example</a><ul>
<li class="toctree-l4"><a class="reference internal" href="../overview/style.html#styling-a-button">Styling a button</a></li>
</ul>
</li>
<li class="toctree-l3"><a class="reference internal" href="../overview/style.html#api">API</a></li>
</ul>
</li>
<li class="toctree-l2"><a class="reference internal" href="../overview/indev.html">Input devices</a><ul>
<li class="toctree-l3"><a class="reference internal" href="../overview/indev.html#pointers">Pointers</a></li>
<li class="toctree-l3"><a class="reference internal" href="../overview/indev.html#keypad-and-encoder">Keypad and encoder</a><ul>
<li class="toctree-l4"><a class="reference internal" href="../overview/indev.html#groups">Groups</a></li>
<li class="toctree-l4"><a class="reference internal" href="../overview/indev.html#styling">Styling</a></li>
</ul>
</li>
<li class="toctree-l3"><a class="reference internal" href="../overview/indev.html#api">API</a><ul>
<li class="toctree-l4"><a class="reference internal" href="../overview/indev.html#input-device">Input device</a></li>
<li class="toctree-l4"><a class="reference internal" href="../overview/indev.html#id1">Groups</a></li>
</ul>
</li>
</ul>
</li>
<li class="toctree-l2"><a class="reference internal" href="../overview/display.html">Displays</a><ul>
<li class="toctree-l3"><a class="reference internal" href="../overview/display.html#multiple-display-support">Multiple display support</a><ul>
<li class="toctree-l4"><a class="reference internal" href="../overview/display.html#using-only-one-display">Using only one display</a></li>
<li class="toctree-l4"><a class="reference internal" href="../overview/display.html#mirror-display">Mirror display</a></li>
<li class="toctree-l4"><a class="reference internal" href="../overview/display.html#split-image">Split image</a></li>
</ul>
</li>
<li class="toctree-l3"><a class="reference internal" href="../overview/display.html#screens">Screens</a><ul>
<li class="toctree-l4"><a class="reference internal" href="../overview/display.html#transparent-screens">Transparent screens</a></li>
</ul>
</li>
<li class="toctree-l3"><a class="reference internal" href="../overview/display.html#features-of-displays">Features of displays</a><ul>
<li class="toctree-l4"><a class="reference internal" href="../overview/display.html#inactivity">Inactivity</a></li>
<li class="toctree-l4"><a class="reference internal" href="../overview/display.html#background">Background</a></li>
</ul>
</li>
<li class="toctree-l3"><a class="reference internal" href="../overview/display.html#colors">Colors</a><ul>
<li class="toctree-l4"><a class="reference internal" href="../overview/display.html#convert-color">Convert color</a></li>
<li class="toctree-l4"><a class="reference internal" href="../overview/display.html#swap-16-colors">Swap 16 colors</a></li>
<li class="toctree-l4"><a class="reference internal" href="../overview/display.html#create-and-mix-colors">Create and mix colors</a></li>
<li class="toctree-l4"><a class="reference internal" href="../overview/display.html#opacity">Opacity</a></li>
<li class="toctree-l4"><a class="reference internal" href="../overview/display.html#built-in-colors">Built-in colors</a></li>
</ul>
</li>
<li class="toctree-l3"><a class="reference internal" href="../overview/display.html#api">API</a><ul>
<li class="toctree-l4"><a class="reference internal" href="../overview/display.html#display">Display</a></li>
<li class="toctree-l4"><a class="reference internal" href="../overview/display.html#id1">Colors</a></li>
</ul>
</li>
</ul>
</li>
<li class="toctree-l2"><a class="reference internal" href="../overview/font.html">Fonts</a><ul>
<li class="toctree-l3"><a class="reference internal" href="../overview/font.html#unicode-support">Unicode support</a></li>
<li class="toctree-l3"><a class="reference internal" href="../overview/font.html#built-in-fonts">Built-in fonts</a><ul>
<li class="toctree-l4"><a class="reference internal" href="../overview/font.html#normal-fonts">Normal fonts</a></li>
<li class="toctree-l4"><a class="reference internal" href="../overview/font.html#special-fonts">Special fonts</a></li>
</ul>
</li>
<li class="toctree-l3"><a class="reference internal" href="../overview/font.html#special-features">Special features</a><ul>
<li class="toctree-l4"><a class="reference internal" href="../overview/font.html#bidirectional-support">Bidirectional support</a></li>
<li class="toctree-l4"><a class="reference internal" href="../overview/font.html#arabic-and-persian-support">Arabic and Persian support</a></li>
<li class="toctree-l4"><a class="reference internal" href="../overview/font.html#subpixel-rendering">Subpixel rendering</a></li>
<li class="toctree-l4"><a class="reference internal" href="../overview/font.html#compress-fonts">Compress fonts</a></li>
</ul>
</li>
<li class="toctree-l3"><a class="reference internal" href="../overview/font.html#add-new-font">Add new font</a></li>
<li class="toctree-l3"><a class="reference internal" href="../overview/font.html#add-new-symbols">Add new symbols</a></li>
<li class="toctree-l3"><a class="reference internal" href="../overview/font.html#load-font-in-run-time">Load font in run-time</a></li>
<li class="toctree-l3"><a class="reference internal" href="../overview/font.html#add-a-new-font-engine">Add a new font engine</a></li>
</ul>
</li>
<li class="toctree-l2"><a class="reference internal" href="../overview/image.html">Images</a><ul>
<li class="toctree-l3"><a class="reference internal" href="../overview/image.html#store-images">Store images</a><ul>
<li class="toctree-l4"><a class="reference internal" href="../overview/image.html#variables">Variables</a></li>
<li class="toctree-l4"><a class="reference internal" href="../overview/image.html#files">Files</a></li>
</ul>
</li>
<li class="toctree-l3"><a class="reference internal" href="../overview/image.html#color-formats">Color formats</a></li>
<li class="toctree-l3"><a class="reference internal" href="../overview/image.html#add-and-use-images">Add and use images</a><ul>
<li class="toctree-l4"><a class="reference internal" href="../overview/image.html#online-converter">Online converter</a></li>
<li class="toctree-l4"><a class="reference internal" href="../overview/image.html#manually-create-an-image">Manually create an image</a></li>
<li class="toctree-l4"><a class="reference internal" href="../overview/image.html#use-images">Use images</a></li>
</ul>
</li>
<li class="toctree-l3"><a class="reference internal" href="../overview/image.html#image-decoder">Image decoder</a><ul>
<li class="toctree-l4"><a class="reference internal" href="../overview/image.html#custom-image-formats">Custom image formats</a></li>
<li class="toctree-l4"><a class="reference internal" href="../overview/image.html#register-an-image-decoder">Register an image decoder</a></li>
<li class="toctree-l4"><a class="reference internal" href="../overview/image.html#manually-use-an-image-decoder">Manually use an image decoder</a></li>
</ul>
</li>
<li class="toctree-l3"><a class="reference internal" href="../overview/image.html#image-caching">Image caching</a><ul>
<li class="toctree-l4"><a class="reference internal" href="../overview/image.html#cache-size">Cache size</a></li>
<li class="toctree-l4"><a class="reference internal" href="../overview/image.html#value-of-images">Value of images</a></li>
<li class="toctree-l4"><a class="reference internal" href="../overview/image.html#memory-usage">Memory usage</a></li>
<li class="toctree-l4"><a class="reference internal" href="../overview/image.html#clean-the-cache">Clean the cache</a></li>
</ul>
</li>
<li class="toctree-l3"><a class="reference internal" href="../overview/image.html#api">API</a><ul>
<li class="toctree-l4"><a class="reference internal" href="../overview/image.html#id1">Image decoder</a></li>
<li class="toctree-l4"><a class="reference internal" href="../overview/image.html#image-cache">Image cache</a></li>
<li class="toctree-l4"><a class="reference internal" href="../overview/image.html#image-buffer">Image buffer</a></li>
<li class="toctree-l4"><a class="reference internal" href="../overview/image.html#image-draw">Image draw</a></li>
</ul>
</li>
</ul>
</li>
<li class="toctree-l2"><a class="reference internal" href="../overview/file-system.html">File system</a><ul>
<li class="toctree-l3"><a class="reference internal" href="../overview/file-system.html#add-a-driver">Add a driver</a></li>
<li class="toctree-l3"><a class="reference internal" href="../overview/file-system.html#usage-example">Usage example</a></li>
<li class="toctree-l3"><a class="reference internal" href="../overview/file-system.html#use-drivers-for-images">Use drivers for images</a></li>
<li class="toctree-l3"><a class="reference internal" href="../overview/file-system.html#api">API</a></li>
</ul>
</li>
<li class="toctree-l2"><a class="reference internal" href="../overview/animation.html">Animations</a><ul>
<li class="toctree-l3"><a class="reference internal" href="../overview/animation.html#create-an-animation">Create an animation</a></li>
<li class="toctree-l3"><a class="reference internal" href="../overview/animation.html#animation-path">Animation path</a></li>
<li class="toctree-l3"><a class="reference internal" href="../overview/animation.html#speed-vs-time">Speed vs time</a></li>
<li class="toctree-l3"><a class="reference internal" href="../overview/animation.html#delete-animations">Delete animations</a></li>
<li class="toctree-l3"><a class="reference internal" href="../overview/animation.html#api">API</a><ul>
<li class="toctree-l4"><a class="reference internal" href="../overview/animation.html#input-device">Input device</a></li>
</ul>
</li>
</ul>
</li>
<li class="toctree-l2"><a class="reference internal" href="../overview/task.html">Tasks</a><ul>
<li class="toctree-l3"><a class="reference internal" href="../overview/task.html#create-a-task">Create a task</a></li>
<li class="toctree-l3"><a class="reference internal" href="../overview/task.html#ready-and-reset">Ready and Reset</a></li>
<li class="toctree-l3"><a class="reference internal" href="../overview/task.html#set-parameters">Set parameters</a></li>
<li class="toctree-l3"><a class="reference internal" href="../overview/task.html#one-shot-tasks">One-shot tasks</a></li>
<li class="toctree-l3"><a class="reference internal" href="../overview/task.html#measure-idle-time">Measure idle time</a></li>
<li class="toctree-l3"><a class="reference internal" href="../overview/task.html#asynchronous-calls">Asynchronous calls</a></li>
<li class="toctree-l3"><a class="reference internal" href="../overview/task.html#api">API</a></li>
</ul>
</li>
<li class="toctree-l2"><a class="reference internal" href="../overview/drawing.html">Drawing</a><ul>
<li class="toctree-l3"><a class="reference internal" href="../overview/drawing.html#buffering-types">Buffering types</a></li>
<li class="toctree-l3"><a class="reference internal" href="../overview/drawing.html#mechanism-of-screen-refreshing">Mechanism of screen refreshing</a></li>
<li class="toctree-l3"><a class="reference internal" href="../overview/drawing.html#masking">Masking</a><ul>
<li class="toctree-l4"><a class="reference internal" href="../overview/drawing.html#c">C</a></li>
<li class="toctree-l4"><a class="reference internal" href="../overview/drawing.html#micropython">MicroPython</a></li>
</ul>
</li>
</ul>
</li>
</ul>
</li>
<li class="toctree-l1 current"><a class="reference internal" href="index.html">Widgets</a><ul class="current">
<li class="toctree-l2"><a class="reference internal" href="obj.html">Base object (lv_obj)</a><ul>
<li class="toctree-l3"><a class="reference internal" href="obj.html#overview">Overview</a><ul>
<li class="toctree-l4"><a class="reference internal" href="obj.html#coordinates">Coordinates</a></li>
<li class="toctree-l4"><a class="reference internal" href="obj.html#parents-and-children">Parents and children</a></li>
<li class="toctree-l4"><a class="reference internal" href="obj.html#screens">Screens</a></li>
<li class="toctree-l4"><a class="reference internal" href="obj.html#layers">Layers</a></li>
<li class="toctree-l4"><a class="reference internal" href="obj.html#events">Events</a></li>
</ul>
</li>
<li class="toctree-l3"><a class="reference internal" href="obj.html#parts">Parts</a><ul>
<li class="toctree-l4"><a class="reference internal" href="obj.html#states">States</a></li>
<li class="toctree-l4"><a class="reference internal" href="obj.html#style">Style</a></li>
<li class="toctree-l4"><a class="reference internal" href="obj.html#attributes">Attributes</a></li>
<li class="toctree-l4"><a class="reference internal" href="obj.html#protect">Protect</a></li>
<li class="toctree-l4"><a class="reference internal" href="obj.html#groups">Groups</a></li>
<li class="toctree-l4"><a class="reference internal" href="obj.html#extended-click-area">Extended click area</a></li>
</ul>
</li>
<li class="toctree-l3"><a class="reference internal" href="obj.html#id1">Events</a></li>
<li class="toctree-l3"><a class="reference internal" href="obj.html#keys">Keys</a></li>
<li class="toctree-l3"><a class="reference internal" href="obj.html#example">Example</a><ul>
<li class="toctree-l4"><a class="reference internal" href="obj.html#c">C</a></li>
<li class="toctree-l4"><a class="reference internal" href="obj.html#micropython">MicroPython</a></li>
</ul>
</li>
<li class="toctree-l3"><a class="reference internal" href="obj.html#api">API</a></li>
</ul>
</li>
<li class="toctree-l2"><a class="reference internal" href="arc.html">Arc (lv_arc)</a><ul>
<li class="toctree-l3"><a class="reference internal" href="arc.html#overview">Overview</a></li>
<li class="toctree-l3"><a class="reference internal" href="arc.html#parts-and-styles">Parts and Styles</a></li>
<li class="toctree-l3"><a class="reference internal" href="arc.html#usage">Usage</a><ul>
<li class="toctree-l4"><a class="reference internal" href="arc.html#angles">Angles</a></li>
<li class="toctree-l4"><a class="reference internal" href="arc.html#rotation">Rotation</a></li>
<li class="toctree-l4"><a class="reference internal" href="arc.html#range-and-values">Range and values</a></li>
<li class="toctree-l4"><a class="reference internal" href="arc.html#type">Type</a></li>
</ul>
</li>
<li class="toctree-l3"><a class="reference internal" href="arc.html#events">Events</a></li>
<li class="toctree-l3"><a class="reference internal" href="arc.html#keys">Keys</a></li>
<li class="toctree-l3"><a class="reference internal" href="arc.html#example">Example</a><ul>
<li class="toctree-l4"><a class="reference internal" href="arc.html#c">C</a></li>
<li class="toctree-l4"><a class="reference internal" href="arc.html#micropython">MicroPython</a></li>
</ul>
</li>
<li class="toctree-l3"><a class="reference internal" href="arc.html#api">API</a></li>
</ul>
</li>
<li class="toctree-l2"><a class="reference internal" href="bar.html">Bar (lv_bar)</a><ul>
<li class="toctree-l3"><a class="reference internal" href="bar.html#overview">Overview</a></li>
<li class="toctree-l3"><a class="reference internal" href="bar.html#parts-and-styles">Parts and Styles</a></li>
<li class="toctree-l3"><a class="reference internal" href="bar.html#usage">Usage</a><ul>
<li class="toctree-l4"><a class="reference internal" href="bar.html#value-and-range">Value and range</a></li>
<li class="toctree-l4"><a class="reference internal" href="bar.html#modes">Modes</a></li>
</ul>
</li>
<li class="toctree-l3"><a class="reference internal" href="bar.html#events">Events</a></li>
<li class="toctree-l3"><a class="reference internal" href="bar.html#keys">Keys</a></li>
<li class="toctree-l3"><a class="reference internal" href="bar.html#example">Example</a><ul>
<li class="toctree-l4"><a class="reference internal" href="bar.html#c">C</a></li>
<li class="toctree-l4"><a class="reference internal" href="bar.html#micropython">MicroPython</a></li>
</ul>
</li>
<li class="toctree-l3"><a class="reference internal" href="bar.html#api">API</a></li>
</ul>
</li>
<li class="toctree-l2"><a class="reference internal" href="btn.html">Button (lv_btn)</a><ul>
<li class="toctree-l3"><a class="reference internal" href="btn.html#overview">Overview</a></li>
<li class="toctree-l3"><a class="reference internal" href="btn.html#parts-and-styles">Parts and Styles</a></li>
<li class="toctree-l3"><a class="reference internal" href="btn.html#usage">Usage</a><ul>
<li class="toctree-l4"><a class="reference internal" href="btn.html#states">States</a></li>
<li class="toctree-l4"><a class="reference internal" href="btn.html#checkable">Checkable</a></li>
<li class="toctree-l4"><a class="reference internal" href="btn.html#layout-and-fit">Layout and Fit</a></li>
</ul>
</li>
<li class="toctree-l3"><a class="reference internal" href="btn.html#events">Events</a></li>
<li class="toctree-l3"><a class="reference internal" href="btn.html#keys">Keys</a></li>
<li class="toctree-l3"><a class="reference internal" href="btn.html#example">Example</a><ul>
<li class="toctree-l4"><a class="reference internal" href="btn.html#c">C</a></li>
<li class="toctree-l4"><a class="reference internal" href="btn.html#micropython">MicroPython</a></li>
</ul>
</li>
<li class="toctree-l3"><a class="reference internal" href="btn.html#api">API</a></li>
</ul>
</li>
<li class="toctree-l2"><a class="reference internal" href="btnmatrix.html">Button matrix (lv_btnmatrix)</a><ul>
<li class="toctree-l3"><a class="reference internal" href="btnmatrix.html#overview">Overview</a></li>
<li class="toctree-l3"><a class="reference internal" href="btnmatrix.html#parts-and-styles">Parts and Styles</a></li>
<li class="toctree-l3"><a class="reference internal" href="btnmatrix.html#usage">Usage</a><ul>
<li class="toctree-l4"><a class="reference internal" href="btnmatrix.html#button-s-text">Button's text</a></li>
<li class="toctree-l4"><a class="reference internal" href="btnmatrix.html#control-buttons">Control buttons</a></li>
<li class="toctree-l4"><a class="reference internal" href="btnmatrix.html#one-check">One check</a></li>
<li class="toctree-l4"><a class="reference internal" href="btnmatrix.html#recolor">Recolor</a></li>
<li class="toctree-l4"><a class="reference internal" href="btnmatrix.html#aligning-the-button-s-text">Aligning the button's text</a></li>
<li class="toctree-l4"><a class="reference internal" href="btnmatrix.html#notes">Notes</a></li>
</ul>
</li>
<li class="toctree-l3"><a class="reference internal" href="btnmatrix.html#events">Events</a></li>
<li class="toctree-l3"><a class="reference internal" href="btnmatrix.html#keys">Keys</a></li>
<li class="toctree-l3"><a class="reference internal" href="btnmatrix.html#example">Example</a><ul>
<li class="toctree-l4"><a class="reference internal" href="btnmatrix.html#c">C</a></li>
<li class="toctree-l4"><a class="reference internal" href="btnmatrix.html#micropython">MicroPython</a></li>
</ul>
</li>
<li class="toctree-l3"><a class="reference internal" href="btnmatrix.html#api">API</a></li>
</ul>
</li>
<li class="toctree-l2"><a class="reference internal" href="calendar.html">Calendar (lv_calendar)</a><ul>
<li class="toctree-l3"><a class="reference internal" href="calendar.html#overview">Overview</a></li>
<li class="toctree-l3"><a class="reference internal" href="calendar.html#parts-and-styles">Parts and Styles</a></li>
<li class="toctree-l3"><a class="reference internal" href="calendar.html#usage">Usage</a></li>
<li class="toctree-l3"><a class="reference internal" href="calendar.html#id1">Overview</a><ul>
<li class="toctree-l4"><a class="reference internal" href="calendar.html#current-date">Current date</a></li>
<li class="toctree-l4"><a class="reference internal" href="calendar.html#shown-date">Shown date</a></li>
<li class="toctree-l4"><a class="reference internal" href="calendar.html#highlighted-days">Highlighted days</a></li>
<li class="toctree-l4"><a class="reference internal" href="calendar.html#name-of-the-days">Name of the days</a></li>
<li class="toctree-l4"><a class="reference internal" href="calendar.html#name-of-the-months">Name of the months</a></li>
</ul>
</li>
<li class="toctree-l3"><a class="reference internal" href="calendar.html#events">Events</a></li>
<li class="toctree-l3"><a class="reference internal" href="calendar.html#keys">Keys</a></li>
<li class="toctree-l3"><a class="reference internal" href="calendar.html#example">Example</a><ul>
<li class="toctree-l4"><a class="reference internal" href="calendar.html#c">C</a></li>
<li class="toctree-l4"><a class="reference internal" href="calendar.html#micropython">MicroPython</a></li>
</ul>
</li>
<li class="toctree-l3"><a class="reference internal" href="calendar.html#api">API</a></li>
</ul>
</li>
<li class="toctree-l2"><a class="reference internal" href="canvas.html">Canvas (lv_canvas)</a><ul>
<li class="toctree-l3"><a class="reference internal" href="canvas.html#overview">Overview</a></li>
<li class="toctree-l3"><a class="reference internal" href="canvas.html#parts-and-styles">Parts and Styles</a></li>
<li class="toctree-l3"><a class="reference internal" href="canvas.html#usage">Usage</a><ul>
<li class="toctree-l4"><a class="reference internal" href="canvas.html#buffer">Buffer</a></li>
<li class="toctree-l4"><a class="reference internal" href="canvas.html#palette">Palette</a></li>
<li class="toctree-l4"><a class="reference internal" href="canvas.html#drawing">Drawing</a></li>
<li class="toctree-l4"><a class="reference internal" href="canvas.html#transformations">Transformations</a></li>
</ul>
</li>
<li class="toctree-l3"><a class="reference internal" href="canvas.html#blur">Blur</a></li>
<li class="toctree-l3"><a class="reference internal" href="canvas.html#events">Events</a></li>
<li class="toctree-l3"><a class="reference internal" href="canvas.html#keys">Keys</a></li>
<li class="toctree-l3"><a class="reference internal" href="canvas.html#example">Example</a><ul>
<li class="toctree-l4"><a class="reference internal" href="canvas.html#c">C</a></li>
<li class="toctree-l4"><a class="reference internal" href="canvas.html#micropython">MicroPython</a></li>
</ul>
</li>
<li class="toctree-l3"><a class="reference internal" href="canvas.html#api">API</a></li>
</ul>
</li>
<li class="toctree-l2"><a class="reference internal" href="checkbox.html">Checkbox (lv_cb)</a><ul>
<li class="toctree-l3"><a class="reference internal" href="checkbox.html#overview">Overview</a></li>
<li class="toctree-l3"><a class="reference internal" href="checkbox.html#parts-and-styles">Parts and Styles</a></li>
<li class="toctree-l3"><a class="reference internal" href="checkbox.html#usage">Usage</a><ul>
<li class="toctree-l4"><a class="reference internal" href="checkbox.html#text">Text</a></li>
<li class="toctree-l4"><a class="reference internal" href="checkbox.html#check-uncheck">Check/Uncheck</a></li>
<li class="toctree-l4"><a class="reference internal" href="checkbox.html#disabled">Disabled</a></li>
<li class="toctree-l4"><a class="reference internal" href="checkbox.html#get-set-checkbox-state">Get/Set Checkbox State</a></li>
</ul>
</li>
<li class="toctree-l3"><a class="reference internal" href="checkbox.html#events">Events</a></li>
<li class="toctree-l3"><a class="reference internal" href="checkbox.html#keys">Keys</a></li>
<li class="toctree-l3"><a class="reference internal" href="checkbox.html#example">Example</a><ul>
<li class="toctree-l4"><a class="reference internal" href="checkbox.html#c">C</a></li>
<li class="toctree-l4"><a class="reference internal" href="checkbox.html#micropython">MicroPython</a></li>
</ul>
</li>
<li class="toctree-l3"><a class="reference internal" href="checkbox.html#api">API</a></li>
</ul>
</li>
<li class="toctree-l2 current"><a class="current reference internal" href="#">Chart (lv_chart)</a><ul>
<li class="toctree-l3"><a class="reference internal" href="#overview">Overview</a></li>
<li class="toctree-l3"><a class="reference internal" href="#parts-and-styles">Parts and Styles</a></li>
<li class="toctree-l3"><a class="reference internal" href="#usage">Usage</a><ul>
<li class="toctree-l4"><a class="reference internal" href="#data-series">Data series</a></li>
<li class="toctree-l4"><a class="reference internal" href="#series-type">Series' type</a></li>
<li class="toctree-l4"><a class="reference internal" href="#modify-the-data">Modify the data</a></li>
<li class="toctree-l4"><a class="reference internal" href="#override-default-start-point-for-series">Override default start point for series</a></li>
<li class="toctree-l4"><a class="reference internal" href="#set-an-external-data-source">Set an external data source</a></li>
<li class="toctree-l4"><a class="reference internal" href="#get-current-chart-information">Get current chart information</a></li>
<li class="toctree-l4"><a class="reference internal" href="#update-modes">Update modes</a></li>
<li class="toctree-l4"><a class="reference internal" href="#number-of-points">Number of points</a></li>
<li class="toctree-l4"><a class="reference internal" href="#vertical-range">Vertical range</a></li>
<li class="toctree-l4"><a class="reference internal" href="#division-lines">Division lines</a></li>
<li class="toctree-l4"><a class="reference internal" href="#tick-marks-and-labels">Tick marks and labels</a></li>
<li class="toctree-l4"><a class="reference internal" href="#cursor">Cursor</a></li>
</ul>
</li>
<li class="toctree-l3"><a class="reference internal" href="#events">Events</a></li>
<li class="toctree-l3"><a class="reference internal" href="#keys">Keys</a></li>
<li class="toctree-l3"><a class="reference internal" href="#example">Example</a><ul>
<li class="toctree-l4"><a class="reference internal" href="#c">C</a></li>
<li class="toctree-l4"><a class="reference internal" href="#micropython">MicroPython</a></li>
</ul>
</li>
<li class="toctree-l3"><a class="reference internal" href="#api">API</a></li>
</ul>
</li>
<li class="toctree-l2"><a class="reference internal" href="cont.html">Container (lv_cont)</a><ul>
<li class="toctree-l3"><a class="reference internal" href="cont.html#overview">Overview</a></li>
<li class="toctree-l3"><a class="reference internal" href="cont.html#parts-and-styles">Parts and Styles</a></li>
<li class="toctree-l3"><a class="reference internal" href="cont.html#usage">Usage</a><ul>
<li class="toctree-l4"><a class="reference internal" href="cont.html#layout">Layout</a></li>
<li class="toctree-l4"><a class="reference internal" href="cont.html#autofit">Autofit</a></li>
</ul>
</li>
<li class="toctree-l3"><a class="reference internal" href="cont.html#events">Events</a></li>
<li class="toctree-l3"><a class="reference internal" href="cont.html#keys">Keys</a></li>
<li class="toctree-l3"><a class="reference internal" href="cont.html#example">Example</a><ul>
<li class="toctree-l4"><a class="reference internal" href="cont.html#c">C</a></li>
<li class="toctree-l4"><a class="reference internal" href="cont.html#micropython">MicroPython</a></li>
</ul>
</li>
<li class="toctree-l3"><a class="reference internal" href="cont.html#api">API</a></li>
</ul>
</li>
<li class="toctree-l2"><a class="reference internal" href="cpicker.html">Color picker (lv_cpicker)</a><ul>
<li class="toctree-l3"><a class="reference internal" href="cpicker.html#overview">Overview</a></li>
<li class="toctree-l3"><a class="reference internal" href="cpicker.html#parts-and-styles">Parts and Styles</a></li>
<li class="toctree-l3"><a class="reference internal" href="cpicker.html#usage">Usage</a><ul>
<li class="toctree-l4"><a class="reference internal" href="cpicker.html#type">Type</a></li>
<li class="toctree-l4"><a class="reference internal" href="cpicker.html#set-color">Set color</a></li>
<li class="toctree-l4"><a class="reference internal" href="cpicker.html#color-mode">Color mode</a></li>
<li class="toctree-l4"><a class="reference internal" href="cpicker.html#knob-color">Knob color</a></li>
</ul>
</li>
<li class="toctree-l3"><a class="reference internal" href="cpicker.html#events">Events</a></li>
<li class="toctree-l3"><a class="reference internal" href="cpicker.html#keys">Keys</a></li>
<li class="toctree-l3"><a class="reference internal" href="cpicker.html#example">Example</a><ul>
<li class="toctree-l4"><a class="reference internal" href="cpicker.html#c">C</a></li>
<li class="toctree-l4"><a class="reference internal" href="cpicker.html#micropython">MicroPython</a></li>
</ul>
</li>
<li class="toctree-l3"><a class="reference internal" href="cpicker.html#api">API</a></li>
</ul>
</li>
<li class="toctree-l2"><a class="reference internal" href="dropdown.html">Drop-down list (lv_dropdown)</a><ul>
<li class="toctree-l3"><a class="reference internal" href="dropdown.html#overview">Overview</a></li>
<li class="toctree-l3"><a class="reference internal" href="dropdown.html#parts-and-styles">Parts and Styles</a></li>
<li class="toctree-l3"><a class="reference internal" href="dropdown.html#usage">Usage</a></li>
<li class="toctree-l3"><a class="reference internal" href="dropdown.html#id1">Overview</a><ul>
<li class="toctree-l4"><a class="reference internal" href="dropdown.html#set-options">Set options</a></li>
<li class="toctree-l4"><a class="reference internal" href="dropdown.html#get-selected-option">Get selected option</a></li>
<li class="toctree-l4"><a class="reference internal" href="dropdown.html#direction">Direction</a></li>
<li class="toctree-l4"><a class="reference internal" href="dropdown.html#symbol">Symbol</a></li>
<li class="toctree-l4"><a class="reference internal" href="dropdown.html#maximum-height">Maximum height</a></li>
<li class="toctree-l4"><a class="reference internal" href="dropdown.html#show-selected">Show selected</a></li>
<li class="toctree-l4"><a class="reference internal" href="dropdown.html#animation-time">Animation time</a></li>
<li class="toctree-l4"><a class="reference internal" href="dropdown.html#manually-open-close">Manually open/close</a></li>
</ul>
</li>
<li class="toctree-l3"><a class="reference internal" href="dropdown.html#events">Events</a></li>
<li class="toctree-l3"><a class="reference internal" href="dropdown.html#keys">Keys</a></li>
<li class="toctree-l3"><a class="reference internal" href="dropdown.html#example">Example</a><ul>
<li class="toctree-l4"><a class="reference internal" href="dropdown.html#c">C</a></li>
<li class="toctree-l4"><a class="reference internal" href="dropdown.html#micropython">MicroPython</a></li>
</ul>
</li>
<li class="toctree-l3"><a class="reference internal" href="dropdown.html#api">API</a></li>
</ul>
</li>
<li class="toctree-l2"><a class="reference internal" href="gauge.html">Gauge (lv_gauge)</a><ul>
<li class="toctree-l3"><a class="reference internal" href="gauge.html#overview">Overview</a></li>
<li class="toctree-l3"><a class="reference internal" href="gauge.html#parts-and-styles">Parts and Styles</a></li>
<li class="toctree-l3"><a class="reference internal" href="gauge.html#usage">Usage</a><ul>
<li class="toctree-l4"><a class="reference internal" href="gauge.html#set-value-and-needles">Set value and needles</a></li>
<li class="toctree-l4"><a class="reference internal" href="gauge.html#scale">Scale</a></li>
<li class="toctree-l4"><a class="reference internal" href="gauge.html#range">Range</a></li>
<li class="toctree-l4"><a class="reference internal" href="gauge.html#needle-image">Needle image</a></li>
<li class="toctree-l4"><a class="reference internal" href="gauge.html#critical-value">Critical value</a></li>
</ul>
</li>
<li class="toctree-l3"><a class="reference internal" href="gauge.html#events">Events</a></li>
<li class="toctree-l3"><a class="reference internal" href="gauge.html#keys">Keys</a></li>
<li class="toctree-l3"><a class="reference internal" href="gauge.html#example">Example</a><ul>
<li class="toctree-l4"><a class="reference internal" href="gauge.html#c">C</a></li>
<li class="toctree-l4"><a class="reference internal" href="gauge.html#micropython">MicroPython</a></li>
</ul>
</li>
<li class="toctree-l3"><a class="reference internal" href="gauge.html#api">API</a></li>
</ul>
</li>
<li class="toctree-l2"><a class="reference internal" href="img.html">Image (lv_img)</a><ul>
<li class="toctree-l3"><a class="reference internal" href="img.html#overview">Overview</a></li>
<li class="toctree-l3"><a class="reference internal" href="img.html#parts-and-styles">Parts and Styles</a></li>
<li class="toctree-l3"><a class="reference internal" href="img.html#usage">Usage</a><ul>
<li class="toctree-l4"><a class="reference internal" href="img.html#image-source">Image source</a></li>
<li class="toctree-l4"><a class="reference internal" href="img.html#label-as-an-image">Label as an image</a></li>
<li class="toctree-l4"><a class="reference internal" href="img.html#transparency">Transparency</a></li>
<li class="toctree-l4"><a class="reference internal" href="img.html#palette-and-alpha-index">Palette and Alpha index</a></li>
<li class="toctree-l4"><a class="reference internal" href="img.html#recolor">Recolor</a></li>
<li class="toctree-l4"><a class="reference internal" href="img.html#auto-size">Auto-size</a></li>
<li class="toctree-l4"><a class="reference internal" href="img.html#mosaic">Mosaic</a></li>
<li class="toctree-l4"><a class="reference internal" href="img.html#offset">Offset</a></li>
</ul>
</li>
<li class="toctree-l3"><a class="reference internal" href="img.html#transformations">Transformations</a></li>
<li class="toctree-l3"><a class="reference internal" href="img.html#rotate">Rotate</a></li>
<li class="toctree-l3"><a class="reference internal" href="img.html#events">Events</a></li>
<li class="toctree-l3"><a class="reference internal" href="img.html#keys">Keys</a></li>
<li class="toctree-l3"><a class="reference internal" href="img.html#example">Example</a><ul>
<li class="toctree-l4"><a class="reference internal" href="img.html#c">C</a></li>
<li class="toctree-l4"><a class="reference internal" href="img.html#micropython">MicroPython</a></li>
</ul>
</li>
<li class="toctree-l3"><a class="reference internal" href="img.html#api">API</a></li>
</ul>
</li>
<li class="toctree-l2"><a class="reference internal" href="imgbtn.html">Image button (lv_imgbtn)</a><ul>
<li class="toctree-l3"><a class="reference internal" href="imgbtn.html#overview">Overview</a></li>
<li class="toctree-l3"><a class="reference internal" href="imgbtn.html#parts-and-styles">Parts and Styles</a></li>
<li class="toctree-l3"><a class="reference internal" href="imgbtn.html#usage">Usage</a><ul>
<li class="toctree-l4"><a class="reference internal" href="imgbtn.html#image-sources">Image sources</a></li>
<li class="toctree-l4"><a class="reference internal" href="imgbtn.html#button-features">Button features</a></li>
</ul>
</li>
<li class="toctree-l3"><a class="reference internal" href="imgbtn.html#events">Events</a></li>
<li class="toctree-l3"><a class="reference internal" href="imgbtn.html#keys">Keys</a></li>
<li class="toctree-l3"><a class="reference internal" href="imgbtn.html#example">Example</a><ul>
<li class="toctree-l4"><a class="reference internal" href="imgbtn.html#c">C</a></li>
<li class="toctree-l4"><a class="reference internal" href="imgbtn.html#micropython">MicroPython</a></li>
</ul>
</li>
<li class="toctree-l3"><a class="reference internal" href="imgbtn.html#api">API</a></li>
</ul>
</li>
<li class="toctree-l2"><a class="reference internal" href="keyboard.html">Keyboard (lv_keyboard)</a><ul>
<li class="toctree-l3"><a class="reference internal" href="keyboard.html#overview">Overview</a></li>
<li class="toctree-l3"><a class="reference internal" href="keyboard.html#parts-and-styles">Parts and Styles</a></li>
<li class="toctree-l3"><a class="reference internal" href="keyboard.html#usage">Usage</a><ul>
<li class="toctree-l4"><a class="reference internal" href="keyboard.html#modes">Modes</a></li>
<li class="toctree-l4"><a class="reference internal" href="keyboard.html#assign-text-area">Assign Text area</a></li>
<li class="toctree-l4"><a class="reference internal" href="keyboard.html#new-keymap">New Keymap</a></li>
</ul>
</li>
<li class="toctree-l3"><a class="reference internal" href="keyboard.html#events">Events</a></li>
<li class="toctree-l3"><a class="reference internal" href="keyboard.html#keys">Keys</a></li>
<li class="toctree-l3"><a class="reference internal" href="keyboard.html#examples">Examples</a><ul>
<li class="toctree-l4"><a class="reference internal" href="keyboard.html#c">C</a></li>
<li class="toctree-l4"><a class="reference internal" href="keyboard.html#micropython">MicroPython</a></li>
</ul>
</li>
<li class="toctree-l3"><a class="reference internal" href="keyboard.html#api">API</a></li>
</ul>
</li>
<li class="toctree-l2"><a class="reference internal" href="label.html">Label (lv_label)</a><ul>
<li class="toctree-l3"><a class="reference internal" href="label.html#overview">Overview</a></li>
<li class="toctree-l3"><a class="reference internal" href="label.html#parts-and-styles">Parts and Styles</a></li>
<li class="toctree-l3"><a class="reference internal" href="label.html#usage">Usage</a><ul>
<li class="toctree-l4"><a class="reference internal" href="label.html#set-text">Set text</a></li>
<li class="toctree-l4"><a class="reference internal" href="label.html#line-break">Line break</a></li>
<li class="toctree-l4"><a class="reference internal" href="label.html#long-modes">Long modes</a></li>
<li class="toctree-l4"><a class="reference internal" href="label.html#text-align">Text align</a></li>
<li class="toctree-l4"><a class="reference internal" href="label.html#text-recolor">Text recolor</a></li>
<li class="toctree-l4"><a class="reference internal" href="label.html#very-long-texts">Very long texts</a></li>
<li class="toctree-l4"><a class="reference internal" href="label.html#symbols">Symbols</a></li>
</ul>
</li>
<li class="toctree-l3"><a class="reference internal" href="label.html#events">Events</a></li>
<li class="toctree-l3"><a class="reference internal" href="label.html#keys">Keys</a></li>
<li class="toctree-l3"><a class="reference internal" href="label.html#example">Example</a><ul>
<li class="toctree-l4"><a class="reference internal" href="label.html#c">C</a></li>
<li class="toctree-l4"><a class="reference internal" href="label.html#micropython">MicroPython</a></li>
</ul>
</li>
<li class="toctree-l3"><a class="reference internal" href="label.html#api">API</a></li>
</ul>
</li>
<li class="toctree-l2"><a class="reference internal" href="led.html">LED (lv_led)</a><ul>
<li class="toctree-l3"><a class="reference internal" href="led.html#overview">Overview</a></li>
<li class="toctree-l3"><a class="reference internal" href="led.html#parts-and-styles">Parts and Styles</a></li>
<li class="toctree-l3"><a class="reference internal" href="led.html#usage">Usage</a><ul>
<li class="toctree-l4"><a class="reference internal" href="led.html#brightness">Brightness</a></li>
<li class="toctree-l4"><a class="reference internal" href="led.html#toggle">Toggle</a></li>
</ul>
</li>
<li class="toctree-l3"><a class="reference internal" href="led.html#events">Events</a></li>
<li class="toctree-l3"><a class="reference internal" href="led.html#keys">Keys</a></li>
<li class="toctree-l3"><a class="reference internal" href="led.html#example">Example</a><ul>
<li class="toctree-l4"><a class="reference internal" href="led.html#c">C</a></li>
<li class="toctree-l4"><a class="reference internal" href="led.html#micropython">MicroPython</a></li>
</ul>
</li>
<li class="toctree-l3"><a class="reference internal" href="led.html#api">API</a></li>
</ul>
</li>
<li class="toctree-l2"><a class="reference internal" href="line.html">Line (lv_line)</a><ul>
<li class="toctree-l3"><a class="reference internal" href="line.html#overview">Overview</a></li>
<li class="toctree-l3"><a class="reference internal" href="line.html#parts-and-styles">Parts and Styles</a></li>
<li class="toctree-l3"><a class="reference internal" href="line.html#usage">Usage</a><ul>
<li class="toctree-l4"><a class="reference internal" href="line.html#set-points">Set points</a></li>
<li class="toctree-l4"><a class="reference internal" href="line.html#auto-size">Auto-size</a></li>
<li class="toctree-l4"><a class="reference internal" href="line.html#invert-y">Invert y</a></li>
</ul>
</li>
<li class="toctree-l3"><a class="reference internal" href="line.html#events">Events</a></li>
<li class="toctree-l3"><a class="reference internal" href="line.html#keys">Keys</a></li>
<li class="toctree-l3"><a class="reference internal" href="line.html#example">Example</a><ul>
<li class="toctree-l4"><a class="reference internal" href="line.html#c">C</a></li>
<li class="toctree-l4"><a class="reference internal" href="line.html#micropython">MicroPython</a></li>
</ul>
</li>
<li class="toctree-l3"><a class="reference internal" href="line.html#api">API</a></li>
</ul>
</li>
<li class="toctree-l2"><a class="reference internal" href="list.html">List (lv_list)</a><ul>
<li class="toctree-l3"><a class="reference internal" href="list.html#overview">Overview</a></li>
<li class="toctree-l3"><a class="reference internal" href="list.html#parts-and-styles">Parts and Styles</a></li>
<li class="toctree-l3"><a class="reference internal" href="list.html#usage">Usage</a><ul>
<li class="toctree-l4"><a class="reference internal" href="list.html#add-buttons">Add buttons</a></li>
<li class="toctree-l4"><a class="reference internal" href="list.html#delete-buttons">Delete buttons</a></li>
<li class="toctree-l4"><a class="reference internal" href="list.html#manual-navigation">Manual navigation</a></li>
<li class="toctree-l4"><a class="reference internal" href="list.html#layout">Layout</a></li>
<li class="toctree-l4"><a class="reference internal" href="list.html#edge-flash">Edge flash</a></li>
<li class="toctree-l4"><a class="reference internal" href="list.html#scroll-propagation">Scroll propagation</a></li>
</ul>
</li>
<li class="toctree-l3"><a class="reference internal" href="list.html#events">Events</a></li>
<li class="toctree-l3"><a class="reference internal" href="list.html#keys">Keys</a></li>
<li class="toctree-l3"><a class="reference internal" href="list.html#example">Example</a><ul>
<li class="toctree-l4"><a class="reference internal" href="list.html#c">C</a></li>
<li class="toctree-l4"><a class="reference internal" href="list.html#micropython">MicroPython</a></li>
</ul>
</li>
<li class="toctree-l3"><a class="reference internal" href="list.html#api">API</a></li>
</ul>
</li>
<li class="toctree-l2"><a class="reference internal" href="linemeter.html">Line meter (lv_lmeter)</a><ul>
<li class="toctree-l3"><a class="reference internal" href="linemeter.html#overview">Overview</a></li>
<li class="toctree-l3"><a class="reference internal" href="linemeter.html#parts-and-styles">Parts and Styles</a></li>
<li class="toctree-l3"><a class="reference internal" href="linemeter.html#usage">Usage</a><ul>
<li class="toctree-l4"><a class="reference internal" href="linemeter.html#set-value">Set value</a></li>
<li class="toctree-l4"><a class="reference internal" href="linemeter.html#range-and-angles">Range and Angles</a></li>
<li class="toctree-l4"><a class="reference internal" href="linemeter.html#angle-offset">Angle offset</a></li>
<li class="toctree-l4"><a class="reference internal" href="linemeter.html#mirror">Mirror</a></li>
</ul>
</li>
<li class="toctree-l3"><a class="reference internal" href="linemeter.html#events">Events</a></li>
<li class="toctree-l3"><a class="reference internal" href="linemeter.html#keys">Keys</a></li>
<li class="toctree-l3"><a class="reference internal" href="linemeter.html#example">Example</a><ul>
<li class="toctree-l4"><a class="reference internal" href="linemeter.html#c">C</a></li>
<li class="toctree-l4"><a class="reference internal" href="linemeter.html#micropython">MicroPython</a></li>
</ul>
</li>
<li class="toctree-l3"><a class="reference internal" href="linemeter.html#api">API</a></li>
</ul>
</li>
<li class="toctree-l2"><a class="reference internal" href="msgbox.html">Message box (lv_msgbox)</a><ul>
<li class="toctree-l3"><a class="reference internal" href="msgbox.html#overview">Overview</a></li>
<li class="toctree-l3"><a class="reference internal" href="msgbox.html#parts-and-styles">Parts and Styles</a></li>
<li class="toctree-l3"><a class="reference internal" href="msgbox.html#usage">Usage</a><ul>
<li class="toctree-l4"><a class="reference internal" href="msgbox.html#set-text">Set text</a></li>
<li class="toctree-l4"><a class="reference internal" href="msgbox.html#add-buttons">Add buttons</a></li>
<li class="toctree-l4"><a class="reference internal" href="msgbox.html#auto-close">Auto-close</a></li>
</ul>
</li>
<li class="toctree-l3"><a class="reference internal" href="msgbox.html#events">Events</a></li>
<li class="toctree-l3"><a class="reference internal" href="msgbox.html#example">Example</a><ul>
<li class="toctree-l4"><a class="reference internal" href="msgbox.html#c">C</a></li>
<li class="toctree-l4"><a class="reference internal" href="msgbox.html#micropython">MicroPython</a></li>
</ul>
</li>
<li class="toctree-l3"><a class="reference internal" href="msgbox.html#api">API</a></li>
</ul>
</li>
<li class="toctree-l2"><a class="reference internal" href="objmask.html">Object mask (lv_objmask)</a><ul>
<li class="toctree-l3"><a class="reference internal" href="objmask.html#overview">Overview</a></li>
<li class="toctree-l3"><a class="reference internal" href="objmask.html#parts-and-styles">Parts and Styles</a></li>
<li class="toctree-l3"><a class="reference internal" href="objmask.html#usage">Usage</a><ul>
<li class="toctree-l4"><a class="reference internal" href="objmask.html#adding-mask">Adding mask</a></li>
<li class="toctree-l4"><a class="reference internal" href="objmask.html#update-mask">Update mask</a></li>
<li class="toctree-l4"><a class="reference internal" href="objmask.html#remove-mask">Remove mask</a></li>
</ul>
</li>
<li class="toctree-l3"><a class="reference internal" href="objmask.html#events">Events</a></li>
<li class="toctree-l3"><a class="reference internal" href="objmask.html#keys">Keys</a></li>
<li class="toctree-l3"><a class="reference internal" href="objmask.html#example">Example</a><ul>
<li class="toctree-l4"><a class="reference internal" href="objmask.html#c">C</a></li>
<li class="toctree-l4"><a class="reference internal" href="objmask.html#micropython">MicroPython</a></li>
</ul>
</li>
<li class="toctree-l3"><a class="reference internal" href="objmask.html#api">API</a></li>
</ul>
</li>
<li class="toctree-l2"><a class="reference internal" href="page.html">Page (lv_page)</a><ul>
<li class="toctree-l3"><a class="reference internal" href="page.html#overview">Overview</a></li>
<li class="toctree-l3"><a class="reference internal" href="page.html#parts-and-styles">Parts and Styles</a></li>
<li class="toctree-l3"><a class="reference internal" href="page.html#usage">Usage</a><ul>
<li class="toctree-l4"><a class="reference internal" href="page.html#scrollbars">Scrollbars</a></li>
<li class="toctree-l4"><a class="reference internal" href="page.html#glue-object">Glue object</a></li>
<li class="toctree-l4"><a class="reference internal" href="page.html#focus-object">Focus object</a></li>
<li class="toctree-l4"><a class="reference internal" href="page.html#manual-navigation">Manual navigation</a></li>
<li class="toctree-l4"><a class="reference internal" href="page.html#edge-flash">Edge flash</a></li>
<li class="toctree-l4"><a class="reference internal" href="page.html#scroll-propagation">Scroll propagation</a></li>
</ul>
</li>
<li class="toctree-l3"><a class="reference internal" href="page.html#clean-the-page">Clean the page</a><ul>
<li class="toctree-l4"><a class="reference internal" href="page.html#scrollable-api">Scrollable API</a></li>
</ul>
</li>
<li class="toctree-l3"><a class="reference internal" href="page.html#events">Events</a></li>
<li class="toctree-l3"><a class="reference internal" href="page.html#example">Example</a><ul>
<li class="toctree-l4"><a class="reference internal" href="page.html#c">C</a></li>
<li class="toctree-l4"><a class="reference internal" href="page.html#micropython">MicroPython</a></li>
</ul>
</li>
<li class="toctree-l3"><a class="reference internal" href="page.html#api">API</a></li>
</ul>
</li>
<li class="toctree-l2"><a class="reference internal" href="roller.html">Roller (lv_roller)</a><ul>
<li class="toctree-l3"><a class="reference internal" href="roller.html#overview">Overview</a></li>
<li class="toctree-l3"><a class="reference internal" href="roller.html#parts-and-styles">Parts and Styles</a></li>
<li class="toctree-l3"><a class="reference internal" href="roller.html#usage">Usage</a><ul>
<li class="toctree-l4"><a class="reference internal" href="roller.html#set-options">Set options</a></li>
<li class="toctree-l4"><a class="reference internal" href="roller.html#get-selected-option">Get selected option</a></li>
<li class="toctree-l4"><a class="reference internal" href="roller.html#align-the-options">Align the options</a></li>
<li class="toctree-l4"><a class="reference internal" href="roller.html#visible-rows">Visible rows</a></li>
<li class="toctree-l4"><a class="reference internal" href="roller.html#animation-time">Animation time</a></li>
</ul>
</li>
<li class="toctree-l3"><a class="reference internal" href="roller.html#events">Events</a></li>
<li class="toctree-l3"><a class="reference internal" href="roller.html#keys">Keys</a></li>
<li class="toctree-l3"><a class="reference internal" href="roller.html#example">Example</a><ul>
<li class="toctree-l4"><a class="reference internal" href="roller.html#c">C</a></li>
<li class="toctree-l4"><a class="reference internal" href="roller.html#micropython">MicroPython</a></li>
</ul>
</li>
<li class="toctree-l3"><a class="reference internal" href="roller.html#api">API</a></li>
</ul>
</li>
<li class="toctree-l2"><a class="reference internal" href="slider.html">Slider (lv_slider)</a><ul>
<li class="toctree-l3"><a class="reference internal" href="slider.html#overview">Overview</a></li>
<li class="toctree-l3"><a class="reference internal" href="slider.html#parts-and-styles">Parts and Styles</a></li>
<li class="toctree-l3"><a class="reference internal" href="slider.html#usage">Usage</a><ul>
<li class="toctree-l4"><a class="reference internal" href="slider.html#value-and-range">Value and range</a></li>
<li class="toctree-l4"><a class="reference internal" href="slider.html#symmetrical-and-range">Symmetrical and Range</a></li>
<li class="toctree-l4"><a class="reference internal" href="slider.html#knob-only-mode">Knob-only mode</a></li>
</ul>
</li>
<li class="toctree-l3"><a class="reference internal" href="slider.html#events">Events</a></li>
<li class="toctree-l3"><a class="reference internal" href="slider.html#keys">Keys</a></li>
<li class="toctree-l3"><a class="reference internal" href="slider.html#example">Example</a><ul>
<li class="toctree-l4"><a class="reference internal" href="slider.html#c">C</a></li>
<li class="toctree-l4"><a class="reference internal" href="slider.html#micropython">MicroPython</a></li>
</ul>
</li>
<li class="toctree-l3"><a class="reference internal" href="slider.html#api">API</a></li>
</ul>
</li>
<li class="toctree-l2"><a class="reference internal" href="spinbox.html">Spinbox (lv_spinbox)</a><ul>
<li class="toctree-l3"><a class="reference internal" href="spinbox.html#overview">Overview</a></li>
<li class="toctree-l3"><a class="reference internal" href="spinbox.html#parts-and-styles">Parts and Styles</a><ul>
<li class="toctree-l4"><a class="reference internal" href="spinbox.html#set-format">Set format</a></li>
<li class="toctree-l4"><a class="reference internal" href="spinbox.html#value-and-ranges">Value and ranges</a></li>
</ul>
</li>
<li class="toctree-l3"><a class="reference internal" href="spinbox.html#events">Events</a></li>
<li class="toctree-l3"><a class="reference internal" href="spinbox.html#keys">Keys</a></li>
<li class="toctree-l3"><a class="reference internal" href="spinbox.html#example">Example</a><ul>
<li class="toctree-l4"><a class="reference internal" href="spinbox.html#c">C</a></li>
<li class="toctree-l4"><a class="reference internal" href="spinbox.html#micropython">MicroPython</a></li>
</ul>
</li>
<li class="toctree-l3"><a class="reference internal" href="spinbox.html#api">API</a></li>
<li class="toctree-l3"><a class="reference internal" href="spinbox.html#id1">Example</a></li>
</ul>
</li>
<li class="toctree-l2"><a class="reference internal" href="spinner.html">Spinner (lv_spinner)</a><ul>
<li class="toctree-l3"><a class="reference internal" href="spinner.html#overview">Overview</a></li>
<li class="toctree-l3"><a class="reference internal" href="spinner.html#parts-and-styles">Parts and Styles</a></li>
<li class="toctree-l3"><a class="reference internal" href="spinner.html#usage">Usage</a><ul>
<li class="toctree-l4"><a class="reference internal" href="spinner.html#arc-length">Arc length</a></li>
<li class="toctree-l4"><a class="reference internal" href="spinner.html#spinning-speed">Spinning speed</a></li>
<li class="toctree-l4"><a class="reference internal" href="spinner.html#spin-types">Spin types</a></li>
<li class="toctree-l4"><a class="reference internal" href="spinner.html#spin-direction">Spin direction</a></li>
</ul>
</li>
<li class="toctree-l3"><a class="reference internal" href="spinner.html#events">Events</a></li>
<li class="toctree-l3"><a class="reference internal" href="spinner.html#keys">Keys</a></li>
<li class="toctree-l3"><a class="reference internal" href="spinner.html#example">Example</a><ul>
<li class="toctree-l4"><a class="reference internal" href="spinner.html#c">C</a></li>
<li class="toctree-l4"><a class="reference internal" href="spinner.html#id1">MicroPython</a></li>
<li class="toctree-l4"><a class="reference internal" href="spinner.html#micropython">MicroPython</a></li>
</ul>
</li>
<li class="toctree-l3"><a class="reference internal" href="spinner.html#api">API</a></li>
</ul>
</li>
<li class="toctree-l2"><a class="reference internal" href="switch.html">Switch (lv_switch)</a><ul>
<li class="toctree-l3"><a class="reference internal" href="switch.html#overview">Overview</a></li>
<li class="toctree-l3"><a class="reference internal" href="switch.html#parts-and-styles">Parts and Styles</a><ul>
<li class="toctree-l4"><a class="reference internal" href="switch.html#change-state">Change state</a></li>
<li class="toctree-l4"><a class="reference internal" href="switch.html#animation-time">Animation time</a></li>
</ul>
</li>
<li class="toctree-l3"><a class="reference internal" href="switch.html#events">Events</a></li>
<li class="toctree-l3"><a class="reference internal" href="switch.html#keys">Keys</a></li>
<li class="toctree-l3"><a class="reference internal" href="switch.html#example">Example</a><ul>
<li class="toctree-l4"><a class="reference internal" href="switch.html#c">C</a></li>
<li class="toctree-l4"><a class="reference internal" href="switch.html#micropython">MicroPython</a></li>
</ul>
</li>
<li class="toctree-l3"><a class="reference internal" href="switch.html#api">API</a></li>
</ul>
</li>
<li class="toctree-l2"><a class="reference internal" href="table.html">Table (lv_table)</a><ul>
<li class="toctree-l3"><a class="reference internal" href="table.html#overview">Overview</a></li>
<li class="toctree-l3"><a class="reference internal" href="table.html#parts-and-styles">Parts and Styles</a></li>
<li class="toctree-l3"><a class="reference internal" href="table.html#usage">Usage</a><ul>
<li class="toctree-l4"><a class="reference internal" href="table.html#rows-and-columns">Rows and Columns</a></li>
<li class="toctree-l4"><a class="reference internal" href="table.html#width-and-height">Width and Height</a></li>
<li class="toctree-l4"><a class="reference internal" href="table.html#set-cell-value">Set cell value</a></li>
<li class="toctree-l4"><a class="reference internal" href="table.html#align">Align</a></li>
<li class="toctree-l4"><a class="reference internal" href="table.html#cell-type">Cell type</a></li>
<li class="toctree-l4"><a class="reference internal" href="table.html#merge-cells">Merge cells</a></li>
<li class="toctree-l4"><a class="reference internal" href="table.html#crop-text">Crop text</a></li>
<li class="toctree-l4"><a class="reference internal" href="table.html#scroll">Scroll</a></li>
</ul>
</li>
<li class="toctree-l3"><a class="reference internal" href="table.html#events">Events</a></li>
<li class="toctree-l3"><a class="reference internal" href="table.html#keys">Keys</a></li>
<li class="toctree-l3"><a class="reference internal" href="table.html#example">Example</a><ul>
<li class="toctree-l4"><a class="reference internal" href="table.html#c">C</a></li>
<li class="toctree-l4"><a class="reference internal" href="table.html#id1">MicroPython</a></li>
<li class="toctree-l4"><a class="reference internal" href="table.html#micropython">MicroPython</a></li>
</ul>
</li>
<li class="toctree-l3"><a class="reference internal" href="table.html#api">API</a></li>
</ul>
</li>
<li class="toctree-l2"><a class="reference internal" href="tabview.html">Tabview (lv_tabview)</a><ul>
<li class="toctree-l3"><a class="reference internal" href="tabview.html#overview">Overview</a></li>
<li class="toctree-l3"><a class="reference internal" href="tabview.html#parts-and-styles">Parts and Styles</a></li>
<li class="toctree-l3"><a class="reference internal" href="tabview.html#usage">Usage</a><ul>
<li class="toctree-l4"><a class="reference internal" href="tabview.html#adding-tab">Adding tab</a></li>
<li class="toctree-l4"><a class="reference internal" href="tabview.html#change-tab">Change tab</a></li>
<li class="toctree-l4"><a class="reference internal" href="tabview.html#change-tab-s-name">Change tab's name</a></li>
<li class="toctree-l4"><a class="reference internal" href="tabview.html#tab-button-s-position">Tab button's position</a></li>
<li class="toctree-l4"><a class="reference internal" href="tabview.html#animation-time">Animation time</a></li>
<li class="toctree-l4"><a class="reference internal" href="tabview.html#scroll-propagation">Scroll propagation</a></li>
</ul>
</li>
<li class="toctree-l3"><a class="reference internal" href="tabview.html#events">Events</a></li>
<li class="toctree-l3"><a class="reference internal" href="tabview.html#keys">Keys</a></li>
<li class="toctree-l3"><a class="reference internal" href="tabview.html#example">Example</a><ul>
<li class="toctree-l4"><a class="reference internal" href="tabview.html#c">C</a></li>
<li class="toctree-l4"><a class="reference internal" href="tabview.html#micropython">MicroPython</a></li>
</ul>
</li>
<li class="toctree-l3"><a class="reference internal" href="tabview.html#api">API</a></li>
</ul>
</li>
<li class="toctree-l2"><a class="reference internal" href="textarea.html">Text area (lv_textarea)</a><ul>
<li class="toctree-l3"><a class="reference internal" href="textarea.html#overview">Overview</a></li>
<li class="toctree-l3"><a class="reference internal" href="textarea.html#parts-and-styles">Parts and Styles</a></li>
<li class="toctree-l3"><a class="reference internal" href="textarea.html#usage">Usage</a><ul>
<li class="toctree-l4"><a class="reference internal" href="textarea.html#add-text">Add text</a></li>
<li class="toctree-l4"><a class="reference internal" href="textarea.html#placeholder">Placeholder</a></li>
<li class="toctree-l4"><a class="reference internal" href="textarea.html#delete-character">Delete character</a></li>
<li class="toctree-l4"><a class="reference internal" href="textarea.html#move-the-cursor">Move the cursor</a></li>
<li class="toctree-l4"><a class="reference internal" href="textarea.html#hide-the-cursor">Hide the cursor</a></li>
<li class="toctree-l4"><a class="reference internal" href="textarea.html#cursor-blink-time">Cursor blink time</a></li>
<li class="toctree-l4"><a class="reference internal" href="textarea.html#one-line-mode">One line mode</a></li>
<li class="toctree-l4"><a class="reference internal" href="textarea.html#password-mode">Password mode</a></li>
<li class="toctree-l4"><a class="reference internal" href="textarea.html#text-align">Text align</a></li>
<li class="toctree-l4"><a class="reference internal" href="textarea.html#accepted-characters">Accepted characters</a></li>
<li class="toctree-l4"><a class="reference internal" href="textarea.html#max-text-length">Max text length</a></li>
<li class="toctree-l4"><a class="reference internal" href="textarea.html#very-long-texts">Very long texts</a></li>
<li class="toctree-l4"><a class="reference internal" href="textarea.html#select-text">Select text</a></li>
<li class="toctree-l4"><a class="reference internal" href="textarea.html#scrollbars">Scrollbars</a></li>
<li class="toctree-l4"><a class="reference internal" href="textarea.html#scroll-propagation">Scroll propagation</a></li>
<li class="toctree-l4"><a class="reference internal" href="textarea.html#edge-flash">Edge flash</a></li>
</ul>
</li>
<li class="toctree-l3"><a class="reference internal" href="textarea.html#events">Events</a></li>
<li class="toctree-l3"><a class="reference internal" href="textarea.html#keys">Keys</a></li>
<li class="toctree-l3"><a class="reference internal" href="textarea.html#example">Example</a><ul>
<li class="toctree-l4"><a class="reference internal" href="textarea.html#c">C</a></li>
<li class="toctree-l4"><a class="reference internal" href="textarea.html#micropython">MicroPython</a></li>
</ul>
</li>
<li class="toctree-l3"><a class="reference internal" href="textarea.html#api">API</a></li>
</ul>
</li>
<li class="toctree-l2"><a class="reference internal" href="tileview.html">Tile view (lv_tileview)</a><ul>
<li class="toctree-l3"><a class="reference internal" href="tileview.html#overview">Overview</a></li>
<li class="toctree-l3"><a class="reference internal" href="tileview.html#parts-and-styles">Parts and Styles</a></li>
<li class="toctree-l3"><a class="reference internal" href="tileview.html#usage">Usage</a><ul>
<li class="toctree-l4"><a class="reference internal" href="tileview.html#valid-positions">Valid positions</a></li>
<li class="toctree-l4"><a class="reference internal" href="tileview.html#set-tile">Set tile</a></li>
<li class="toctree-l4"><a class="reference internal" href="tileview.html#add-element">Add element</a></li>
<li class="toctree-l4"><a class="reference internal" href="tileview.html#scroll-propagation">Scroll propagation</a></li>
<li class="toctree-l4"><a class="reference internal" href="tileview.html#animation-time">Animation time</a></li>
<li class="toctree-l4"><a class="reference internal" href="tileview.html#edge-flash">Edge flash</a></li>
</ul>
</li>
<li class="toctree-l3"><a class="reference internal" href="tileview.html#events">Events</a></li>
<li class="toctree-l3"><a class="reference internal" href="tileview.html#keys">Keys</a></li>
<li class="toctree-l3"><a class="reference internal" href="tileview.html#example">Example</a><ul>
<li class="toctree-l4"><a class="reference internal" href="tileview.html#c">C</a></li>
<li class="toctree-l4"><a class="reference internal" href="tileview.html#micropython">MicroPython</a></li>
</ul>
</li>
<li class="toctree-l3"><a class="reference internal" href="tileview.html#api">API</a></li>
</ul>
</li>
<li class="toctree-l2"><a class="reference internal" href="win.html">Window (lv_win)</a><ul>
<li class="toctree-l3"><a class="reference internal" href="win.html#overview">Overview</a></li>
<li class="toctree-l3"><a class="reference internal" href="win.html#parts-and-styles">Parts and Styles</a><ul>
<li class="toctree-l4"><a class="reference internal" href="win.html#title">Title</a></li>
<li class="toctree-l4"><a class="reference internal" href="win.html#control-buttons">Control buttons</a></li>
<li class="toctree-l4"><a class="reference internal" href="win.html#scrollbars">Scrollbars</a></li>
<li class="toctree-l4"><a class="reference internal" href="win.html#manual-scroll-and-focus">Manual scroll and focus</a></li>
<li class="toctree-l4"><a class="reference internal" href="win.html#layout">Layout</a></li>
</ul>
</li>
<li class="toctree-l3"><a class="reference internal" href="win.html#events">Events</a></li>
<li class="toctree-l3"><a class="reference internal" href="win.html#keys">Keys</a></li>
<li class="toctree-l3"><a class="reference internal" href="win.html#example">Example</a><ul>
<li class="toctree-l4"><a class="reference internal" href="win.html#c">C</a></li>
<li class="toctree-l4"><a class="reference internal" href="win.html#micropython">MicroPython</a></li>
</ul>
</li>
<li class="toctree-l3"><a class="reference internal" href="win.html#api">API</a></li>
</ul>
</li>
</ul>
</li>
<li class="toctree-l1"><a class="reference internal" href="../contributing/index.html">Contributing</a><ul>
<li class="toctree-l2"><a class="reference internal" href="../contributing/index.html#introduction">Introduction</a></li>
<li class="toctree-l2"><a class="reference internal" href="../contributing/index.html#pull-request">Pull request</a><ul>
<li class="toctree-l3"><a class="reference internal" href="../contributing/index.html#from-github">From GitHub</a></li>
<li class="toctree-l3"><a class="reference internal" href="../contributing/index.html#from-command-line">From command line</a></li>
</ul>
</li>
<li class="toctree-l2"><a class="reference internal" href="../contributing/index.html#developer-certification-of-origin-dco">Developer Certification of Origin (DCO)</a><ul>
<li class="toctree-l3"><a class="reference internal" href="../contributing/index.html#overview">Overview</a></li>
<li class="toctree-l3"><a class="reference internal" href="../contributing/index.html#accepted-licenses-and-copyright-notices">Accepted licenses and copyright notices</a><ul>
<li class="toctree-l4"><a class="reference internal" href="../contributing/index.html#your-own-work">Your own work</a></li>
<li class="toctree-l4"><a class="reference internal" href="../contributing/index.html#use-code-from-online-source">Use code from online source</a></li>
<li class="toctree-l4"><a class="reference internal" href="../contributing/index.html#use-mit-licensed-code">Use MIT licensed code</a></li>
<li class="toctree-l4"><a class="reference internal" href="../contributing/index.html#use-gpl-licensed-code">Use GPL licensed code</a></li>
</ul>
</li>
</ul>
</li>
<li class="toctree-l2"><a class="reference internal" href="../contributing/index.html#when-you-get-started-with-lvgl">When you get started with LVGL</a><ul>
<li class="toctree-l3"><a class="reference internal" href="../contributing/index.html#give-lvgl-a-star">Give LVGL a Star</a></li>
<li class="toctree-l3"><a class="reference internal" href="../contributing/index.html#tell-what-you-have-achieved">Tell what you have achieved</a></li>
<li class="toctree-l3"><a class="reference internal" href="../contributing/index.html#write-examples">Write examples</a></li>
<li class="toctree-l3"><a class="reference internal" href="../contributing/index.html#improve-the-docs">Improve the docs</a></li>
<li class="toctree-l3"><a class="reference internal" href="../contributing/index.html#translate-the-docs">Translate the docs</a></li>
<li class="toctree-l3"><a class="reference internal" href="../contributing/index.html#write-a-blog-post">Write a blog post</a></li>
</ul>
</li>
<li class="toctree-l2"><a class="reference internal" href="../contributing/index.html#when-you-already-use-lvgl">When you already use LVGL</a><ul>
<li class="toctree-l3"><a class="reference internal" href="../contributing/index.html#give-feedback">Give feedback</a></li>
<li class="toctree-l3"><a class="reference internal" href="../contributing/index.html#report-bugs">Report bugs</a></li>
<li class="toctree-l3"><a class="reference internal" href="../contributing/index.html#send-fixes">Send fixes</a></li>
<li class="toctree-l3"><a class="reference internal" href="../contributing/index.html#join-the-conversations-in-the-forum">Join the conversations in the Forum</a></li>
<li class="toctree-l3"><a class="reference internal" href="../contributing/index.html#add-features">Add features</a></li>
</ul>
</li>
<li class="toctree-l2"><a class="reference internal" href="../contributing/index.html#when-you-are-confident-with-lvgl">When you are confident with LVGL</a><ul>
<li class="toctree-l3"><a class="reference internal" href="../contributing/index.html#become-a-maintainer">Become a maintainer</a></li>
<li class="toctree-l3"><a class="reference internal" href="../contributing/index.html#move-your-project-repository-under-lvgl-organization">Move your project repository under LVGL organization</a></li>
</ul>
</li>
</ul>
</li>
</ul>

            
          
        </div>
        
      </div>
    </nav>

    <section data-toggle="wy-nav-shift" class="wy-nav-content-wrap">

      
      <nav class="wy-nav-top" aria-label="top navigation">
        
          <i data-toggle="wy-nav-top" class="fa fa-bars"></i>
          <a href="../index.html">LVGL</a>
        
      </nav>


      <div class="wy-nav-content">
        
        <div class="rst-content">
        
          

















<div role="navigation" aria-label="breadcrumbs navigation">

  <ul class="wy-breadcrumbs">
    
      <li><a href="../index.html" class="icon icon-home"></a> &raquo;</li>
        
          <li><a href="index.html">Widgets</a> &raquo;</li>
        
      <li>Chart (lv_chart)</li>
    
    
      <li class="wy-breadcrumbs-aside">
        
            
            
              <!-- User defined GitHub URL -->
              <a href="https://github.com/lvgl/docs/blob/latest/widgets/chart.md" class="fa fa-github"> Edit on GitHub</a>
            
          
        
      </li>
    
  </ul>

  
  <hr/>
</div>
          <div role="main" class="document" itemscope="itemscope" itemtype="http://schema.org/Article">
           <div itemprop="articleBody">
            
  <div class="section" id="chart-lv-chart">
<h1>Chart (lv_chart)<a class="headerlink" href="#chart-lv-chart" title="Permalink to this headline">¶</a></h1>
<div class="section" id="overview">
<h2>Overview<a class="headerlink" href="#overview" title="Permalink to this headline">¶</a></h2>
<p>Charts are a basic object to visualize data points.
They support <em>Line</em> charts (connect points with lines and/or draw points on them) and <em>Column</em> charts.</p>
<p>Charts also support division lines, 2 y axis, axis ticks, and texts on ticks.</p>
</div>
<div class="section" id="parts-and-styles">
<h2>Parts and Styles<a class="headerlink" href="#parts-and-styles" title="Permalink to this headline">¶</a></h2>
<p>The Chart's main part is called <code class="docutils literal notranslate"><span class="pre">LV_CHART_PART_BG</span></code> and it uses all the typical background properties.
The <em>text</em> style properties determine the style of the axis texts and the <em>line</em> properties determine ticks' style.
<em>Padding</em> values add some space on the sides thus it makes the <em>series area</em> smaller. Padding also can be used to make space for axis texts and ticks.</p>
<p>The background of the series is called <code class="docutils literal notranslate"><span class="pre">LV_CHART_PART_SERIES_BG</span></code> and it's placed on the main background.
The division lines, and series data is drawn on this part. Besides the typical background style properties
the <em>line</em> style properties are used by the division lines. The <em>padding</em> values tells the space between the this part and the axis texts.</p>
<p>The style of the series can be referenced by <code class="docutils literal notranslate"><span class="pre">LV_CHART_PART_SERIES</span></code>. In case of column type the following properties are used:</p>
<ul class="simple">
<li><p><em>radius</em>: radius of the bars</p></li>
<li><p><em>padding_inner</em>: space between the columns of the same x coordinate</p></li>
</ul>
<p>In case of Line type these properties are used:</p>
<ul class="simple">
<li><p><em>line properties</em> to describe the lines</p></li>
<li><p><em>size</em> radius of the points</p></li>
<li><p><em>bg_opa</em>: the overall opacity of the area below the lines</p></li>
<li><p><em>bg_main_stop</em>: % of <em>bg_opa</em> at the top to create an alpha fade (0: transparent at the top, 255: <em>bg_opa</em> at the top)</p></li>
<li><p><em>bg_grad_stop</em>: %  of <em>bg_opa</em> at the bottom to create an alpha fade  (0: transparent at the bottom, 255: <em>bg_opa</em> at the top)</p></li>
<li><p><em>bg_drag_dir</em>: should be <code class="docutils literal notranslate"><span class="pre">LV_GRAD_DIR_VER</span></code> to allow alpha fading with <em>bg_main_stop</em> and <em>bg_grad_stop</em></p></li>
</ul>
<p><code class="docutils literal notranslate"><span class="pre">LV_CHART_PART_CURSOR</span></code> refres to the cursors. Any number of cursor can be added and their appearence can be set by the line related style properties. The color of the cursors are set when the cursor is created and <code class="docutils literal notranslate"><span class="pre">line_color</span></code> fro mteh style is overwritten by this value.</p>
</div>
<div class="section" id="usage">
<h2>Usage<a class="headerlink" href="#usage" title="Permalink to this headline">¶</a></h2>
<div class="section" id="data-series">
<h3>Data series<a class="headerlink" href="#data-series" title="Permalink to this headline">¶</a></h3>
<p>You can add any number of series to the charts by <code class="docutils literal notranslate"><span class="pre">lv_chart_add_series(chart,</span> <span class="pre">color)</span></code>.
It allocates data for a <code class="docutils literal notranslate"><span class="pre">lv_chart_series_t</span></code> structure which contains the chosen <code class="docutils literal notranslate"><span class="pre">color</span></code> and an array for the data points if
not using an external array, if an external array is assigned any internal points associated with the series are deallocated
and the series points to the external array instead.</p>
</div>
<div class="section" id="series-type">
<h3>Series' type<a class="headerlink" href="#series-type" title="Permalink to this headline">¶</a></h3>
<p>The following <strong>data display types</strong> exist:</p>
<ul class="simple">
<li><p><strong>LV_CHART_TYPE_NONE</strong> - Do not display any data. It can be used to hide the series.</p></li>
<li><p><strong>LV_CHART_TYPE_LINE</strong> - Draw lines between the points.</p></li>
<li><p><strong>LV_CHART_TYPE_COLUMN</strong> - Draw columns.</p></li>
</ul>
<p>You can specify the display type with <code class="docutils literal notranslate"><span class="pre">lv_chart_set_type(chart,</span> <span class="pre">LV_CHART_TYPE_...)</span></code>. The types can be 'OR'ed (like <code class="docutils literal notranslate"><span class="pre">LV_CHART_TYPE_LINE</span></code>).</p>
</div>
<div class="section" id="modify-the-data">
<h3>Modify the data<a class="headerlink" href="#modify-the-data" title="Permalink to this headline">¶</a></h3>
<p>You have several options to set the data of series:</p>
<ol class="simple">
<li><p>Set the values manually in the array like <code class="docutils literal notranslate"><span class="pre">ser1-&gt;points[3]</span> <span class="pre">=</span> <span class="pre">7</span></code> and refresh the chart with <code class="docutils literal notranslate"><span class="pre">lv_chart_refresh(chart)</span></code>.</p></li>
<li><p>Use <code class="docutils literal notranslate"><span class="pre">lv_chart_set_point_id(chart,</span> <span class="pre">ser,</span> <span class="pre">value,</span> <span class="pre">id)</span></code> where id is the index of the point you wish to update.</p></li>
<li><p>Use the <code class="docutils literal notranslate"><span class="pre">lv_chart_set_next(chart,</span> <span class="pre">ser,</span> <span class="pre">value)</span></code>.</p></li>
<li><p>Initialize all points to a given value with: <code class="docutils literal notranslate"><span class="pre">lv_chart_init_points(chart,</span> <span class="pre">ser,</span> <span class="pre">value)</span></code>.</p></li>
<li><p>Set all points from an array with: <code class="docutils literal notranslate"><span class="pre">lv_chart_set_points(chart,</span> <span class="pre">ser,</span> <span class="pre">value_array)</span></code>.</p></li>
</ol>
<p>Use <code class="docutils literal notranslate"><span class="pre">LV_CHART_POINT_DEF</span></code> as value to make the library skip drawing that point, column, or line segment.</p>
</div>
<div class="section" id="override-default-start-point-for-series">
<h3>Override default start point for series<a class="headerlink" href="#override-default-start-point-for-series" title="Permalink to this headline">¶</a></h3>
<p>If you wish a plot to start from a point other than the default which is point[0] of the series, you can set an alternative
index with the function <code class="docutils literal notranslate"><span class="pre">lv_chart_set_x_start_point(chart,</span> <span class="pre">ser,</span> <span class="pre">id)</span></code> where id is the new index position to start plotting from.</p>
</div>
<div class="section" id="set-an-external-data-source">
<h3>Set an external data source<a class="headerlink" href="#set-an-external-data-source" title="Permalink to this headline">¶</a></h3>
<p>You can make the chart series update from an external data source by assigning it with the function:
<code class="docutils literal notranslate"><span class="pre">lv_chart_set_ext_array(chart,</span> <span class="pre">ser,</span> <span class="pre">array,</span> <span class="pre">point_cnt</span> <span class="pre">)</span></code> where array is an external array of lv_coord_t with point_cnt elements.
Note: you should call <code class="docutils literal notranslate"><span class="pre">lv_chart_refresh(chart)</span></code> after the external data source has been updated, to update the chart.</p>
</div>
<div class="section" id="get-current-chart-information">
<h3>Get current chart information<a class="headerlink" href="#get-current-chart-information" title="Permalink to this headline">¶</a></h3>
<p>There are four functions to get information about a chart:</p>
<ol class="simple">
<li><p><code class="docutils literal notranslate"><span class="pre">lv_chart_get_type(chart)</span></code> returns the current chart type.</p></li>
<li><p><code class="docutils literal notranslate"><span class="pre">lv_chart_get_point_count(chart)</span></code> returns the current chart point count.</p></li>
<li><p><code class="docutils literal notranslate"><span class="pre">lv_chart_get_x_start_point(ser)</span></code> returns the current plotting index for the specified series.</p></li>
<li><p><code class="docutils literal notranslate"><span class="pre">lv_chart_get_point_id(chart,</span> <span class="pre">ser,</span> <span class="pre">id)</span></code> returns the value of the data at a particular index(id) for the specified series.</p></li>
</ol>
</div>
<div class="section" id="update-modes">
<h3>Update modes<a class="headerlink" href="#update-modes" title="Permalink to this headline">¶</a></h3>
<p><code class="docutils literal notranslate"><span class="pre">lv_chart_set_next</span></code> can behave in two ways depending on <em>update mode</em>:</p>
<ul class="simple">
<li><p><strong>LV_CHART_UPDATE_MODE_SHIFT</strong> - Shift old data to the left and add the new one o the right.</p></li>
<li><p><strong>LV_CHART_UPDATE_MODE_CIRCULAR</strong> - Circularly add the new data (Like an ECG diagram).</p></li>
</ul>
<p>The update mode can be changed with <code class="docutils literal notranslate"><span class="pre">lv_chart_set_update_mode(chart,</span> <span class="pre">LV_CHART_UPDATE_MODE_...)</span></code>.</p>
</div>
<div class="section" id="number-of-points">
<h3>Number of points<a class="headerlink" href="#number-of-points" title="Permalink to this headline">¶</a></h3>
<p>The number of points in the series can be modified by <code class="docutils literal notranslate"><span class="pre">lv_chart_set_point_count(chart,</span> <span class="pre">point_num)</span></code>. The default value is 10.
Note: this also affects the number of points processed when an external buffer is assigned to a series.</p>
</div>
<div class="section" id="vertical-range">
<h3>Vertical range<a class="headerlink" href="#vertical-range" title="Permalink to this headline">¶</a></h3>
<p>You can specify the minimum and maximum values in y-direction with <code class="docutils literal notranslate"><span class="pre">lv_chart_set_range(chart,</span> <span class="pre">y_min,</span> <span class="pre">y_max)</span></code>. The value of the points will be scaled proportionally. The default range is: 0..100.</p>
</div>
<div class="section" id="division-lines">
<h3>Division lines<a class="headerlink" href="#division-lines" title="Permalink to this headline">¶</a></h3>
<p>The number of horizontal and vertical division lines can be modified by <code class="docutils literal notranslate"><span class="pre">lv_chart_set_div_line_count(chart,</span> <span class="pre">hdiv_num,</span> <span class="pre">vdiv_num)</span></code>. The default settings are 3 horizontal and 5 vertical division lines.</p>
</div>
<div class="section" id="tick-marks-and-labels">
<h3>Tick marks and labels<a class="headerlink" href="#tick-marks-and-labels" title="Permalink to this headline">¶</a></h3>
<p>Ticks and labels can be added to the axis.</p>
<p><code class="docutils literal notranslate"><span class="pre">lv_chart_set_x_tick_text(chart,</span> <span class="pre">list_of_values,</span> <span class="pre">num_tick_marks,</span> <span class="pre">LV_CHART_AXIS_...)</span></code> set the ticks and texts on x axis.
<code class="docutils literal notranslate"><span class="pre">list_of_values</span></code> is a string with <code class="docutils literal notranslate"><span class="pre">'\n'</span></code> terminated text (expect the last) with text for the ticks. E.g. <code class="docutils literal notranslate"><span class="pre">const</span> <span class="pre">char</span> <span class="pre">*</span> <span class="pre">list_of_values</span> <span class="pre">=</span> <span class="pre">&quot;first\nsec\nthird&quot;</span></code>. <code class="docutils literal notranslate"><span class="pre">list_of_values</span></code> can be <code class="docutils literal notranslate"><span class="pre">NULL</span></code>.
If <code class="docutils literal notranslate"><span class="pre">list_of_values</span></code> is set then <code class="docutils literal notranslate"><span class="pre">num_tick_marks</span></code> tells the number of ticks between two labels.  If <code class="docutils literal notranslate"><span class="pre">list_of_values</span></code> is <code class="docutils literal notranslate"><span class="pre">NULL</span></code> then it specifies the total number of ticks.</p>
<p><em>Major tick lines</em> are drawn where text is placed, and <em>minor tick lines</em> are drawn elsewhere. <code class="docutils literal notranslate"><span class="pre">lv_chart_set_x_tick_length(chart,</span> <span class="pre">major_tick_len,</span> <span class="pre">minor_tick_len)</span></code> sets the length of tick lines on the x-axis.</p>
<p>The same functions exists for the y axis too: <code class="docutils literal notranslate"><span class="pre">lv_chart_set_y_tick_text</span></code> and <code class="docutils literal notranslate"><span class="pre">lv_chart_set_y_tick_length</span></code>.</p>
</div>
<div class="section" id="cursor">
<h3>Cursor<a class="headerlink" href="#cursor" title="Permalink to this headline">¶</a></h3>
<p>A cursor can be added with <code class="docutils literal notranslate"><span class="pre">lv_chart_cursor_t</span> <span class="pre">*</span> <span class="pre">c1</span> <span class="pre">=</span> <span class="pre">lv_chart_add_cursor(chart,</span> <span class="pre">color,</span> <span class="pre">dir);</span></code>. The possible values of <code class="docutils literal notranslate"><span class="pre">dir</span></code>  <code class="docutils literal notranslate"><span class="pre">LV_CHART_CURSOR_NONE/RIGHT/UP/LEFT/DOWN</span></code> or their OR-ed values to tell in which direction(s) should the cursor be drawn.</p>
<p><code class="docutils literal notranslate"><span class="pre">lv_chart_set_cursor_point(chart,</span> <span class="pre">cursor,</span> <span class="pre">&amp;point)</span></code> sets the position of the cursor. <code class="docutils literal notranslate"><span class="pre">point</span></code> is a pointer to an <code class="docutils literal notranslate"><span class="pre">lv_poin_t</span></code> variable. E.g. <code class="docutils literal notranslate"><span class="pre">lv_point_t</span> <span class="pre">point</span> <span class="pre">=</span> <span class="pre">{10,</span> <span class="pre">20};</span></code>. The point is relative to the series area of the chart.</p>
<p>The <code class="docutils literal notranslate"><span class="pre">lv_coord_t</span> <span class="pre">p_index</span> <span class="pre">=</span> <span class="pre">lv_chart_get_nearest_index_from_coord(chart,</span> <span class="pre">x)</span></code> tells which point index is to the closest to a X coordinate (relative to the series area). It can be used to snap the cursor to a point for example when the chart is clicked.</p>
<p><code class="docutils literal notranslate"><span class="pre">lv_chart_get_x_from_index(chart,</span> <span class="pre">series,</span> <span class="pre">id)</span></code> and <code class="docutils literal notranslate"><span class="pre">lv_chart_get_y_from_index(chart,</span> <span class="pre">series,</span> <span class="pre">id)</span></code> tells the X and Y coordinate of a given point. It's useful to place the cursor to given point.</p>
<p>The current series area can be retrieved with <code class="docutils literal notranslate"><span class="pre">lv_chart_get_series_area(chart,</span> <span class="pre">&amp;area)</span></code> where <code class="docutils literal notranslate"><span class="pre">area</span></code> is a pointer to an <code class="docutils literal notranslate"><span class="pre">lv_area_t</span></code> variable to store the result. The area has absolute coordinates.</p>
</div>
</div>
<div class="section" id="events">
<h2>Events<a class="headerlink" href="#events" title="Permalink to this headline">¶</a></h2>
<p>Only the <a class="reference external" href="../overview/event.html#generic-events">Generic events</a> are sent by the object type.</p>
<p>Learn more about <a class="reference internal" href="../overview/event.html"><span class="doc">Events</span></a>.</p>
</div>
<div class="section" id="keys">
<h2>Keys<a class="headerlink" href="#keys" title="Permalink to this headline">¶</a></h2>
<p>No <em>Keys</em> are processed by the object type.</p>
<p>Learn more about <a class="reference internal" href="../overview/indev.html"><span class="doc">Keys</span></a>.</p>
</div>
<div class="section" id="example">
<h2>Example<a class="headerlink" href="#example" title="Permalink to this headline">¶</a></h2>
<div class="section" id="c">
<h3>C<a class="headerlink" href="#c" title="Permalink to this headline">¶</a></h3>
<div class="section" id="line-chart">
<h4>Line Chart<a class="headerlink" href="#line-chart" title="Permalink to this headline">¶</a></h4>
<iframe class='lv-example' src='../_static/built_lv_examples/lv_ex_chart_1/?w=320&h=240'></iframe><div class="toggle docutils container">
<div class="header docutils container">
<p>code</p>
</div>
<div class="highlight-c notranslate"><div class="highlight"><pre><span></span><span class="cp">#include</span> <span class="cpf">&quot;../../../lv_examples.h&quot;</span><span class="cp"></span>
<span class="cp">#if LV_USE_CHART</span>

<span class="kt">void</span> <span class="nf">lv_ex_chart_1</span><span class="p">(</span><span class="kt">void</span><span class="p">)</span>
<span class="p">{</span>
    <span class="cm">/*Create a chart*/</span>
    <span class="n">lv_obj_t</span> <span class="o">*</span> <span class="n">chart</span><span class="p">;</span>
    <span class="n">chart</span> <span class="o">=</span> <span class="n">lv_chart_create</span><span class="p">(</span><span class="n">lv_scr_act</span><span class="p">(),</span> <span class="nb">NULL</span><span class="p">);</span>
    <span class="n">lv_obj_set_size</span><span class="p">(</span><span class="n">chart</span><span class="p">,</span> <span class="mi">200</span><span class="p">,</span> <span class="mi">150</span><span class="p">);</span>
    <span class="n">lv_obj_align</span><span class="p">(</span><span class="n">chart</span><span class="p">,</span> <span class="nb">NULL</span><span class="p">,</span> <span class="n">LV_ALIGN_CENTER</span><span class="p">,</span> <span class="mi">0</span><span class="p">,</span> <span class="mi">0</span><span class="p">);</span>
    <span class="n">lv_chart_set_type</span><span class="p">(</span><span class="n">chart</span><span class="p">,</span> <span class="n">LV_CHART_TYPE_LINE</span><span class="p">);</span>   <span class="cm">/*Show lines and points too*/</span>

    <span class="cm">/*Add two data series*/</span>
    <span class="n">lv_chart_series_t</span> <span class="o">*</span> <span class="n">ser1</span> <span class="o">=</span> <span class="n">lv_chart_add_series</span><span class="p">(</span><span class="n">chart</span><span class="p">,</span> <span class="n">LV_COLOR_RED</span><span class="p">);</span>
    <span class="n">lv_chart_series_t</span> <span class="o">*</span> <span class="n">ser2</span> <span class="o">=</span> <span class="n">lv_chart_add_series</span><span class="p">(</span><span class="n">chart</span><span class="p">,</span> <span class="n">LV_COLOR_GREEN</span><span class="p">);</span>

    <span class="cm">/*Set the next points on &#39;ser1&#39;*/</span>
    <span class="n">lv_chart_set_next</span><span class="p">(</span><span class="n">chart</span><span class="p">,</span> <span class="n">ser1</span><span class="p">,</span> <span class="mi">10</span><span class="p">);</span>
    <span class="n">lv_chart_set_next</span><span class="p">(</span><span class="n">chart</span><span class="p">,</span> <span class="n">ser1</span><span class="p">,</span> <span class="mi">10</span><span class="p">);</span>
    <span class="n">lv_chart_set_next</span><span class="p">(</span><span class="n">chart</span><span class="p">,</span> <span class="n">ser1</span><span class="p">,</span> <span class="mi">10</span><span class="p">);</span>
    <span class="n">lv_chart_set_next</span><span class="p">(</span><span class="n">chart</span><span class="p">,</span> <span class="n">ser1</span><span class="p">,</span> <span class="mi">10</span><span class="p">);</span>
    <span class="n">lv_chart_set_next</span><span class="p">(</span><span class="n">chart</span><span class="p">,</span> <span class="n">ser1</span><span class="p">,</span> <span class="mi">10</span><span class="p">);</span>
    <span class="n">lv_chart_set_next</span><span class="p">(</span><span class="n">chart</span><span class="p">,</span> <span class="n">ser1</span><span class="p">,</span> <span class="mi">10</span><span class="p">);</span>
    <span class="n">lv_chart_set_next</span><span class="p">(</span><span class="n">chart</span><span class="p">,</span> <span class="n">ser1</span><span class="p">,</span> <span class="mi">10</span><span class="p">);</span>
    <span class="n">lv_chart_set_next</span><span class="p">(</span><span class="n">chart</span><span class="p">,</span> <span class="n">ser1</span><span class="p">,</span> <span class="mi">30</span><span class="p">);</span>
    <span class="n">lv_chart_set_next</span><span class="p">(</span><span class="n">chart</span><span class="p">,</span> <span class="n">ser1</span><span class="p">,</span> <span class="mi">70</span><span class="p">);</span>
    <span class="n">lv_chart_set_next</span><span class="p">(</span><span class="n">chart</span><span class="p">,</span> <span class="n">ser1</span><span class="p">,</span> <span class="mi">90</span><span class="p">);</span>

    <span class="cm">/*Directly set points on &#39;ser2&#39;*/</span>
    <span class="n">ser2</span><span class="o">-&gt;</span><span class="n">points</span><span class="p">[</span><span class="mi">0</span><span class="p">]</span> <span class="o">=</span> <span class="mi">90</span><span class="p">;</span>
    <span class="n">ser2</span><span class="o">-&gt;</span><span class="n">points</span><span class="p">[</span><span class="mi">1</span><span class="p">]</span> <span class="o">=</span> <span class="mi">70</span><span class="p">;</span>
    <span class="n">ser2</span><span class="o">-&gt;</span><span class="n">points</span><span class="p">[</span><span class="mi">2</span><span class="p">]</span> <span class="o">=</span> <span class="mi">65</span><span class="p">;</span>
    <span class="n">ser2</span><span class="o">-&gt;</span><span class="n">points</span><span class="p">[</span><span class="mi">3</span><span class="p">]</span> <span class="o">=</span> <span class="mi">65</span><span class="p">;</span>
    <span class="n">ser2</span><span class="o">-&gt;</span><span class="n">points</span><span class="p">[</span><span class="mi">4</span><span class="p">]</span> <span class="o">=</span> <span class="mi">65</span><span class="p">;</span>
    <span class="n">ser2</span><span class="o">-&gt;</span><span class="n">points</span><span class="p">[</span><span class="mi">5</span><span class="p">]</span> <span class="o">=</span> <span class="mi">65</span><span class="p">;</span>
    <span class="n">ser2</span><span class="o">-&gt;</span><span class="n">points</span><span class="p">[</span><span class="mi">6</span><span class="p">]</span> <span class="o">=</span> <span class="mi">65</span><span class="p">;</span>
    <span class="n">ser2</span><span class="o">-&gt;</span><span class="n">points</span><span class="p">[</span><span class="mi">7</span><span class="p">]</span> <span class="o">=</span> <span class="mi">65</span><span class="p">;</span>
    <span class="n">ser2</span><span class="o">-&gt;</span><span class="n">points</span><span class="p">[</span><span class="mi">8</span><span class="p">]</span> <span class="o">=</span> <span class="mi">65</span><span class="p">;</span>
    <span class="n">ser2</span><span class="o">-&gt;</span><span class="n">points</span><span class="p">[</span><span class="mi">9</span><span class="p">]</span> <span class="o">=</span> <span class="mi">65</span><span class="p">;</span>

    <span class="n">lv_chart_refresh</span><span class="p">(</span><span class="n">chart</span><span class="p">);</span> <span class="cm">/*Required after direct set*/</span>
<span class="p">}</span>

<span class="cp">#endif</span>
</pre></div>
</div>
</div>
<iframe class='lv-example' src='../_static/built_lv_examples/lv_ex_chart_2/?w=320&h=240'></iframe><div class="toggle docutils container">
<div class="header docutils container">
<p>code</p>
</div>
<div class="highlight-c notranslate"><div class="highlight"><pre><span></span><span class="cp">#include</span> <span class="cpf">&quot;../../../lv_examples.h&quot;</span><span class="cp"></span>
<span class="cp">#if LV_USE_CHART</span>

<span class="cm">/**</span>
<span class="cm"> * Add a faded area effect to the line chart</span>
<span class="cm"> */</span>
<span class="kt">void</span> <span class="nf">lv_ex_chart_2</span><span class="p">(</span><span class="kt">void</span><span class="p">)</span>
<span class="p">{</span>
    <span class="cm">/*Create a chart*/</span>
    <span class="n">lv_obj_t</span> <span class="o">*</span> <span class="n">chart</span><span class="p">;</span>
    <span class="n">chart</span> <span class="o">=</span> <span class="n">lv_chart_create</span><span class="p">(</span><span class="n">lv_scr_act</span><span class="p">(),</span> <span class="nb">NULL</span><span class="p">);</span>
    <span class="n">lv_obj_set_size</span><span class="p">(</span><span class="n">chart</span><span class="p">,</span> <span class="mi">200</span><span class="p">,</span> <span class="mi">150</span><span class="p">);</span>
    <span class="n">lv_obj_align</span><span class="p">(</span><span class="n">chart</span><span class="p">,</span> <span class="nb">NULL</span><span class="p">,</span> <span class="n">LV_ALIGN_CENTER</span><span class="p">,</span> <span class="mi">0</span><span class="p">,</span> <span class="mi">0</span><span class="p">);</span>
    <span class="n">lv_chart_set_type</span><span class="p">(</span><span class="n">chart</span><span class="p">,</span> <span class="n">LV_CHART_TYPE_LINE</span><span class="p">);</span>   <span class="cm">/*Show lines and points too*/</span>

    <span class="cm">/*Add a faded are effect*/</span>
    <span class="n">lv_obj_set_style_local_bg_opa</span><span class="p">(</span><span class="n">chart</span><span class="p">,</span> <span class="n">LV_CHART_PART_SERIES</span><span class="p">,</span> <span class="n">LV_STATE_DEFAULT</span><span class="p">,</span> <span class="n">LV_OPA_50</span><span class="p">);</span> <span class="cm">/*Max. opa.*/</span>
    <span class="n">lv_obj_set_style_local_bg_grad_dir</span><span class="p">(</span><span class="n">chart</span><span class="p">,</span> <span class="n">LV_CHART_PART_SERIES</span><span class="p">,</span> <span class="n">LV_STATE_DEFAULT</span><span class="p">,</span> <span class="n">LV_GRAD_DIR_VER</span><span class="p">);</span>
    <span class="n">lv_obj_set_style_local_bg_main_stop</span><span class="p">(</span><span class="n">chart</span><span class="p">,</span> <span class="n">LV_CHART_PART_SERIES</span><span class="p">,</span> <span class="n">LV_STATE_DEFAULT</span><span class="p">,</span> <span class="mi">255</span><span class="p">);</span>    <span class="cm">/*Max opa on the top*/</span>
    <span class="n">lv_obj_set_style_local_bg_grad_stop</span><span class="p">(</span><span class="n">chart</span><span class="p">,</span> <span class="n">LV_CHART_PART_SERIES</span><span class="p">,</span> <span class="n">LV_STATE_DEFAULT</span><span class="p">,</span> <span class="mi">0</span><span class="p">);</span>      <span class="cm">/*Transparent on the bottom*/</span>


    <span class="cm">/*Add two data series*/</span>
    <span class="n">lv_chart_series_t</span> <span class="o">*</span> <span class="n">ser1</span> <span class="o">=</span> <span class="n">lv_chart_add_series</span><span class="p">(</span><span class="n">chart</span><span class="p">,</span> <span class="n">LV_COLOR_RED</span><span class="p">);</span>
    <span class="n">lv_chart_series_t</span> <span class="o">*</span> <span class="n">ser2</span> <span class="o">=</span> <span class="n">lv_chart_add_series</span><span class="p">(</span><span class="n">chart</span><span class="p">,</span> <span class="n">LV_COLOR_GREEN</span><span class="p">);</span>

    <span class="cm">/*Set the next points on &#39;ser1&#39;*/</span>
    <span class="n">lv_chart_set_next</span><span class="p">(</span><span class="n">chart</span><span class="p">,</span> <span class="n">ser1</span><span class="p">,</span> <span class="mi">31</span><span class="p">);</span>
    <span class="n">lv_chart_set_next</span><span class="p">(</span><span class="n">chart</span><span class="p">,</span> <span class="n">ser1</span><span class="p">,</span> <span class="mi">66</span><span class="p">);</span>
    <span class="n">lv_chart_set_next</span><span class="p">(</span><span class="n">chart</span><span class="p">,</span> <span class="n">ser1</span><span class="p">,</span> <span class="mi">10</span><span class="p">);</span>
    <span class="n">lv_chart_set_next</span><span class="p">(</span><span class="n">chart</span><span class="p">,</span> <span class="n">ser1</span><span class="p">,</span> <span class="mi">89</span><span class="p">);</span>
    <span class="n">lv_chart_set_next</span><span class="p">(</span><span class="n">chart</span><span class="p">,</span> <span class="n">ser1</span><span class="p">,</span> <span class="mi">63</span><span class="p">);</span>
    <span class="n">lv_chart_set_next</span><span class="p">(</span><span class="n">chart</span><span class="p">,</span> <span class="n">ser1</span><span class="p">,</span> <span class="mi">56</span><span class="p">);</span>
    <span class="n">lv_chart_set_next</span><span class="p">(</span><span class="n">chart</span><span class="p">,</span> <span class="n">ser1</span><span class="p">,</span> <span class="mi">32</span><span class="p">);</span>
    <span class="n">lv_chart_set_next</span><span class="p">(</span><span class="n">chart</span><span class="p">,</span> <span class="n">ser1</span><span class="p">,</span> <span class="mi">35</span><span class="p">);</span>
    <span class="n">lv_chart_set_next</span><span class="p">(</span><span class="n">chart</span><span class="p">,</span> <span class="n">ser1</span><span class="p">,</span> <span class="mi">57</span><span class="p">);</span>
    <span class="n">lv_chart_set_next</span><span class="p">(</span><span class="n">chart</span><span class="p">,</span> <span class="n">ser1</span><span class="p">,</span> <span class="mi">85</span><span class="p">);</span>

    <span class="cm">/*Directly set points on &#39;ser2&#39;*/</span>
    <span class="n">ser2</span><span class="o">-&gt;</span><span class="n">points</span><span class="p">[</span><span class="mi">0</span><span class="p">]</span> <span class="o">=</span> <span class="mi">92</span><span class="p">;</span>
    <span class="n">ser2</span><span class="o">-&gt;</span><span class="n">points</span><span class="p">[</span><span class="mi">1</span><span class="p">]</span> <span class="o">=</span> <span class="mi">71</span><span class="p">;</span>
    <span class="n">ser2</span><span class="o">-&gt;</span><span class="n">points</span><span class="p">[</span><span class="mi">2</span><span class="p">]</span> <span class="o">=</span> <span class="mi">61</span><span class="p">;</span>
    <span class="n">ser2</span><span class="o">-&gt;</span><span class="n">points</span><span class="p">[</span><span class="mi">3</span><span class="p">]</span> <span class="o">=</span> <span class="mi">15</span><span class="p">;</span>
    <span class="n">ser2</span><span class="o">-&gt;</span><span class="n">points</span><span class="p">[</span><span class="mi">4</span><span class="p">]</span> <span class="o">=</span> <span class="mi">21</span><span class="p">;</span>
    <span class="n">ser2</span><span class="o">-&gt;</span><span class="n">points</span><span class="p">[</span><span class="mi">5</span><span class="p">]</span> <span class="o">=</span> <span class="mi">35</span><span class="p">;</span>
    <span class="n">ser2</span><span class="o">-&gt;</span><span class="n">points</span><span class="p">[</span><span class="mi">6</span><span class="p">]</span> <span class="o">=</span> <span class="mi">35</span><span class="p">;</span>
    <span class="n">ser2</span><span class="o">-&gt;</span><span class="n">points</span><span class="p">[</span><span class="mi">7</span><span class="p">]</span> <span class="o">=</span> <span class="mi">58</span><span class="p">;</span>
    <span class="n">ser2</span><span class="o">-&gt;</span><span class="n">points</span><span class="p">[</span><span class="mi">8</span><span class="p">]</span> <span class="o">=</span> <span class="mi">31</span><span class="p">;</span>
    <span class="n">ser2</span><span class="o">-&gt;</span><span class="n">points</span><span class="p">[</span><span class="mi">9</span><span class="p">]</span> <span class="o">=</span> <span class="mi">53</span><span class="p">;</span>

    <span class="n">lv_chart_refresh</span><span class="p">(</span><span class="n">chart</span><span class="p">);</span> <span class="cm">/*Required after direct set*/</span>
<span class="p">}</span>

<span class="cp">#endif</span>
</pre></div>
</div>
</div>
</div>
</div>
<div class="section" id="micropython">
<h3>MicroPython<a class="headerlink" href="#micropython" title="Permalink to this headline">¶</a></h3>
Click to try in the simulator!<br/><a target='_blank' href='https://sim.lvgl.io/v7/micropython/ports/javascript/bundle_out/index.html?script_startup=https://raw.githubusercontent.com/lvgl/lv_demos/release/v7/src/header.py&script=https://raw.githubusercontent.com/lvgl/lv_examples/9ebc61df6b7be07bd2fb4257fec49bf0dd178e2d/lv_ex_chart_1/lv_ex_chart_1.py'><img alt='lv_ex_chart_1' src='https://raw.githubusercontent.com/lvgl/lv_examples/9ebc61df6b7be07bd2fb4257fec49bf0dd178e2d/lv_ex_chart_1/lv_ex_chart_1.png'/></a><div class="toggle docutils container">
<div class="header docutils container">
<p>code</p>
</div>
<div class="highlight-py notranslate"><div class="highlight"><pre><span></span><span class="kn">from</span> <span class="nn">lv_colors</span> <span class="kn">import</span> <span class="n">lv_colors</span>

<span class="c1"># create a chart</span>
<span class="n">chart</span> <span class="o">=</span> <span class="n">lv</span><span class="o">.</span><span class="n">chart</span><span class="p">(</span><span class="n">lv</span><span class="o">.</span><span class="n">scr_act</span><span class="p">(),</span><span class="kc">None</span><span class="p">)</span>
<span class="n">chart</span><span class="o">.</span><span class="n">set_size</span><span class="p">(</span><span class="mi">200</span><span class="p">,</span><span class="mi">150</span><span class="p">)</span>
<span class="n">chart</span><span class="o">.</span><span class="n">align</span><span class="p">(</span><span class="kc">None</span><span class="p">,</span><span class="n">lv</span><span class="o">.</span><span class="n">ALIGN</span><span class="o">.</span><span class="n">CENTER</span><span class="p">,</span><span class="mi">0</span><span class="p">,</span><span class="mi">0</span><span class="p">)</span>
<span class="n">chart</span><span class="o">.</span><span class="n">set_type</span><span class="p">(</span><span class="n">lv</span><span class="o">.</span><span class="n">chart</span><span class="o">.</span><span class="n">TYPE</span><span class="o">.</span><span class="n">LINE</span><span class="p">)</span>

<span class="n">ser1</span><span class="o">=</span><span class="n">chart</span><span class="o">.</span><span class="n">add_series</span><span class="p">(</span><span class="n">lv_colors</span><span class="o">.</span><span class="n">RED</span><span class="p">)</span>
<span class="n">ser2</span><span class="o">=</span><span class="n">chart</span><span class="o">.</span><span class="n">add_series</span><span class="p">(</span><span class="n">lv_colors</span><span class="o">.</span><span class="n">GREEN</span><span class="p">)</span>

<span class="c1"># Set next points on ser1</span>
<span class="n">chart</span><span class="o">.</span><span class="n">set_next</span><span class="p">(</span><span class="n">ser1</span><span class="p">,</span><span class="mi">10</span><span class="p">)</span>
<span class="n">chart</span><span class="o">.</span><span class="n">set_next</span><span class="p">(</span><span class="n">ser1</span><span class="p">,</span><span class="mi">10</span><span class="p">)</span>
<span class="n">chart</span><span class="o">.</span><span class="n">set_next</span><span class="p">(</span><span class="n">ser1</span><span class="p">,</span><span class="mi">10</span><span class="p">)</span>
<span class="n">chart</span><span class="o">.</span><span class="n">set_next</span><span class="p">(</span><span class="n">ser1</span><span class="p">,</span><span class="mi">10</span><span class="p">)</span>
<span class="n">chart</span><span class="o">.</span><span class="n">set_next</span><span class="p">(</span><span class="n">ser1</span><span class="p">,</span><span class="mi">10</span><span class="p">)</span>
<span class="n">chart</span><span class="o">.</span><span class="n">set_next</span><span class="p">(</span><span class="n">ser1</span><span class="p">,</span><span class="mi">10</span><span class="p">)</span>
<span class="n">chart</span><span class="o">.</span><span class="n">set_next</span><span class="p">(</span><span class="n">ser1</span><span class="p">,</span><span class="mi">10</span><span class="p">)</span>
<span class="n">chart</span><span class="o">.</span><span class="n">set_next</span><span class="p">(</span><span class="n">ser1</span><span class="p">,</span><span class="mi">30</span><span class="p">)</span>
<span class="n">chart</span><span class="o">.</span><span class="n">set_next</span><span class="p">(</span><span class="n">ser1</span><span class="p">,</span><span class="mi">70</span><span class="p">)</span>
<span class="n">chart</span><span class="o">.</span><span class="n">set_next</span><span class="p">(</span><span class="n">ser1</span><span class="p">,</span><span class="mi">90</span><span class="p">)</span>

<span class="c1"># Set points on ser2</span>
<span class="n">chart</span><span class="o">.</span><span class="n">set_points</span><span class="p">(</span><span class="n">ser2</span><span class="p">,</span> <span class="p">[</span><span class="mi">90</span><span class="p">,</span> <span class="mi">70</span><span class="p">,</span> <span class="mi">65</span><span class="p">,</span> <span class="mi">65</span><span class="p">,</span> <span class="mi">65</span><span class="p">,</span> <span class="mi">65</span><span class="p">,</span> <span class="mi">65</span><span class="p">,</span> <span class="mi">65</span><span class="p">,</span> <span class="mi">65</span><span class="p">,</span> <span class="mi">65</span><span class="p">])</span>
</pre></div>
</div>
</div>
Click to try in the simulator!<br/><a target='_blank' href='https://sim.lvgl.io/v7/micropython/ports/javascript/bundle_out/index.html?script_startup=https://raw.githubusercontent.com/lvgl/lv_demos/release/v7/src/header.py&script=https://raw.githubusercontent.com/lvgl/lv_examples/9ebc61df6b7be07bd2fb4257fec49bf0dd178e2d/lv_ex_chart_2/lv_ex_chart_2.py'><img alt='lv_ex_chart_2' src='https://raw.githubusercontent.com/lvgl/lv_examples/9ebc61df6b7be07bd2fb4257fec49bf0dd178e2d/lv_ex_chart_2/lv_ex_chart_2.png'/></a><div class="toggle docutils container">
<div class="header docutils container">
<p>code</p>
</div>
<div class="highlight-py notranslate"><div class="highlight"><pre><span></span><span class="kn">from</span> <span class="nn">lv_colors</span> <span class="kn">import</span> <span class="n">lv_colors</span>

<span class="c1"># create a chart</span>
<span class="n">chart</span> <span class="o">=</span> <span class="n">lv</span><span class="o">.</span><span class="n">chart</span><span class="p">(</span><span class="n">lv</span><span class="o">.</span><span class="n">scr_act</span><span class="p">(),</span><span class="kc">None</span><span class="p">)</span>
<span class="n">chart</span><span class="o">.</span><span class="n">set_size</span><span class="p">(</span><span class="mi">200</span><span class="p">,</span><span class="mi">150</span><span class="p">)</span>
<span class="n">chart</span><span class="o">.</span><span class="n">align</span><span class="p">(</span><span class="kc">None</span><span class="p">,</span><span class="n">lv</span><span class="o">.</span><span class="n">ALIGN</span><span class="o">.</span><span class="n">CENTER</span><span class="p">,</span><span class="mi">0</span><span class="p">,</span><span class="mi">0</span><span class="p">)</span>
<span class="n">chart</span><span class="o">.</span><span class="n">set_type</span><span class="p">(</span><span class="n">lv</span><span class="o">.</span><span class="n">chart</span><span class="o">.</span><span class="n">TYPE</span><span class="o">.</span><span class="n">LINE</span><span class="p">)</span>
<span class="c1"># Add a faded are effect</span>
<span class="n">chart</span><span class="o">.</span><span class="n">set_style_local_bg_opa</span><span class="p">(</span><span class="n">lv</span><span class="o">.</span><span class="n">chart</span><span class="o">.</span><span class="n">PART</span><span class="o">.</span><span class="n">SERIES</span><span class="p">,</span> <span class="n">lv</span><span class="o">.</span><span class="n">STATE</span><span class="o">.</span><span class="n">DEFAULT</span><span class="p">,</span> <span class="n">lv</span><span class="o">.</span><span class="n">OPA</span><span class="o">.</span><span class="n">_50</span><span class="p">)</span>               <span class="c1"># Max. opa.</span>
<span class="n">chart</span><span class="o">.</span><span class="n">set_style_local_bg_grad_dir</span><span class="p">(</span><span class="n">lv</span><span class="o">.</span><span class="n">chart</span><span class="o">.</span><span class="n">PART</span><span class="o">.</span><span class="n">SERIES</span><span class="p">,</span> <span class="n">lv</span><span class="o">.</span><span class="n">STATE</span><span class="o">.</span><span class="n">DEFAULT</span><span class="p">,</span> <span class="n">lv</span><span class="o">.</span><span class="n">GRAD_DIR</span><span class="o">.</span><span class="n">VER</span><span class="p">)</span>
<span class="n">chart</span><span class="o">.</span><span class="n">set_style_local_bg_main_stop</span><span class="p">(</span><span class="n">lv</span><span class="o">.</span><span class="n">chart</span><span class="o">.</span><span class="n">PART</span><span class="o">.</span><span class="n">SERIES</span><span class="p">,</span> <span class="n">lv</span><span class="o">.</span><span class="n">STATE</span><span class="o">.</span><span class="n">DEFAULT</span><span class="p">,</span> <span class="mi">255</span><span class="p">)</span>                <span class="c1"># Max opa on the top</span>
<span class="n">chart</span><span class="o">.</span><span class="n">set_style_local_bg_grad_stop</span><span class="p">(</span><span class="n">lv</span><span class="o">.</span><span class="n">chart</span><span class="o">.</span><span class="n">PART</span><span class="o">.</span><span class="n">SERIES</span><span class="p">,</span> <span class="n">lv</span><span class="o">.</span><span class="n">STATE</span><span class="o">.</span><span class="n">DEFAULT</span><span class="p">,</span> <span class="mi">0</span><span class="p">)</span>                  <span class="c1"># Transparent on the bottom</span>

<span class="n">ser1</span><span class="o">=</span><span class="n">chart</span><span class="o">.</span><span class="n">add_series</span><span class="p">(</span><span class="n">lv_colors</span><span class="o">.</span><span class="n">RED</span><span class="p">)</span>
<span class="n">ser2</span><span class="o">=</span><span class="n">chart</span><span class="o">.</span><span class="n">add_series</span><span class="p">(</span><span class="n">lv_colors</span><span class="o">.</span><span class="n">GREEN</span><span class="p">)</span>

<span class="c1"># Set next points on ser1</span>
<span class="n">chart</span><span class="o">.</span><span class="n">set_next</span><span class="p">(</span><span class="n">ser1</span><span class="p">,</span><span class="mi">31</span><span class="p">)</span>
<span class="n">chart</span><span class="o">.</span><span class="n">set_next</span><span class="p">(</span><span class="n">ser1</span><span class="p">,</span><span class="mi">66</span><span class="p">)</span>
<span class="n">chart</span><span class="o">.</span><span class="n">set_next</span><span class="p">(</span><span class="n">ser1</span><span class="p">,</span><span class="mi">10</span><span class="p">)</span>
<span class="n">chart</span><span class="o">.</span><span class="n">set_next</span><span class="p">(</span><span class="n">ser1</span><span class="p">,</span><span class="mi">89</span><span class="p">)</span>
<span class="n">chart</span><span class="o">.</span><span class="n">set_next</span><span class="p">(</span><span class="n">ser1</span><span class="p">,</span><span class="mi">63</span><span class="p">)</span>
<span class="n">chart</span><span class="o">.</span><span class="n">set_next</span><span class="p">(</span><span class="n">ser1</span><span class="p">,</span><span class="mi">56</span><span class="p">)</span>
<span class="n">chart</span><span class="o">.</span><span class="n">set_next</span><span class="p">(</span><span class="n">ser1</span><span class="p">,</span><span class="mi">32</span><span class="p">)</span>
<span class="n">chart</span><span class="o">.</span><span class="n">set_next</span><span class="p">(</span><span class="n">ser1</span><span class="p">,</span><span class="mi">35</span><span class="p">)</span>
<span class="n">chart</span><span class="o">.</span><span class="n">set_next</span><span class="p">(</span><span class="n">ser1</span><span class="p">,</span><span class="mi">57</span><span class="p">)</span>
<span class="n">chart</span><span class="o">.</span><span class="n">set_next</span><span class="p">(</span><span class="n">ser1</span><span class="p">,</span><span class="mi">85</span><span class="p">)</span>

<span class="c1"># Set points on ser2</span>
<span class="n">chart</span><span class="o">.</span><span class="n">set_points</span><span class="p">(</span><span class="n">ser2</span><span class="p">,</span> <span class="p">[</span><span class="mi">92</span><span class="p">,</span> <span class="mi">71</span><span class="p">,</span> <span class="mi">61</span><span class="p">,</span> <span class="mi">15</span><span class="p">,</span> <span class="mi">21</span><span class="p">,</span> <span class="mi">35</span><span class="p">,</span> <span class="mi">35</span><span class="p">,</span> <span class="mi">58</span><span class="p">,</span> <span class="mi">31</span><span class="p">,</span> <span class="mi">53</span><span class="p">])</span>
</pre></div>
</div>
</div>
</div>
</div>
<div class="section" id="api">
<h2>API<a class="headerlink" href="#api" title="Permalink to this headline">¶</a></h2>
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric" id="breathe-section-title-typedefs">Typedefs</p>
<dl class="cpp type">
<dt id="_CPPv415lv_chart_type_t">
<span id="_CPPv315lv_chart_type_t"></span><span id="_CPPv215lv_chart_type_t"></span><span id="lv_chart_type_t"></span><span class="target" id="lv__chart_8h_1a498d916927185ea0556e99215a10d235"></span><em class="property"><span class="pre">typedef</span> </em><span class="pre">uint8_t</span> <code class="sig-name descname"><span class="pre">lv_chart_type_t</span></code><a class="headerlink" href="#_CPPv415lv_chart_type_t" title="Permalink to this definition">¶</a><br /></dt>
<dd></dd></dl>

<dl class="cpp type">
<dt id="_CPPv422lv_chart_update_mode_t">
<span id="_CPPv322lv_chart_update_mode_t"></span><span id="_CPPv222lv_chart_update_mode_t"></span><span id="lv_chart_update_mode_t"></span><span class="target" id="lv__chart_8h_1acd87f4dcd0cfbdfd1da0d8ecc9a05f2d"></span><em class="property"><span class="pre">typedef</span> </em><span class="pre">uint8_t</span> <code class="sig-name descname"><span class="pre">lv_chart_update_mode_t</span></code><a class="headerlink" href="#_CPPv422lv_chart_update_mode_t" title="Permalink to this definition">¶</a><br /></dt>
<dd></dd></dl>

<dl class="cpp type">
<dt id="_CPPv415lv_chart_axis_t">
<span id="_CPPv315lv_chart_axis_t"></span><span id="_CPPv215lv_chart_axis_t"></span><span id="lv_chart_axis_t"></span><span class="target" id="lv__chart_8h_1a970a24c47bd4458f21a0230f69045d54"></span><em class="property"><span class="pre">typedef</span> </em><span class="pre">uint8_t</span> <code class="sig-name descname"><span class="pre">lv_chart_axis_t</span></code><a class="headerlink" href="#_CPPv415lv_chart_axis_t" title="Permalink to this definition">¶</a><br /></dt>
<dd></dd></dl>

<dl class="cpp type">
<dt id="_CPPv421lv_cursor_direction_t">
<span id="_CPPv321lv_cursor_direction_t"></span><span id="_CPPv221lv_cursor_direction_t"></span><span id="lv_cursor_direction_t"></span><span class="target" id="lv__chart_8h_1afbfb9ede14c0feef291278c2ae3bcb8c"></span><em class="property"><span class="pre">typedef</span> </em><span class="pre">uint8_t</span> <code class="sig-name descname"><span class="pre">lv_cursor_direction_t</span></code><a class="headerlink" href="#_CPPv421lv_cursor_direction_t" title="Permalink to this definition">¶</a><br /></dt>
<dd></dd></dl>

<dl class="cpp type">
<dt id="_CPPv423lv_chart_axis_options_t">
<span id="_CPPv323lv_chart_axis_options_t"></span><span id="_CPPv223lv_chart_axis_options_t"></span><span id="lv_chart_axis_options_t"></span><span class="target" id="lv__chart_8h_1aecd738e22761457fbdffad5027dd15b8"></span><em class="property"><span class="pre">typedef</span> </em><span class="pre">uint8_t</span> <code class="sig-name descname"><span class="pre">lv_chart_axis_options_t</span></code><a class="headerlink" href="#_CPPv423lv_chart_axis_options_t" title="Permalink to this definition">¶</a><br /></dt>
<dd></dd></dl>

</div>
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric" id="breathe-section-title-enums">Enums</p>
<dl class="cpp enum">
<dt id="_CPPv4Ut2_62">
<span id="_CPPv3Ut2_62"></span><span class="target" id="lv__chart_8h_1a2f80701c36e79c0640d91c788feee0b3"></span><em class="property"><span class="pre">enum</span> </em><strong><span class="pre">[anonymous]</span></strong><a class="headerlink" href="#_CPPv4Ut2_62" title="Permalink to this definition">¶</a><br /></dt>
<dd><p>Chart types </p>
<p><em>Values:</em></p>
<dl class="cpp enumerator">
<dt id="_CPPv4NUt2_6218LV_CHART_TYPE_NONEE">
<span id="_CPPv3NUt2_6218LV_CHART_TYPE_NONEE"></span><span class="target" id="lv__chart_8h_1a2f80701c36e79c0640d91c788feee0b3a3781231f7433084a6882833b90b2b287"></span><em class="property"><span class="pre">enumerator</span> </em><code class="sig-name descname"><span class="pre">LV_CHART_TYPE_NONE</span></code><a class="headerlink" href="#_CPPv4NUt2_6218LV_CHART_TYPE_NONEE" title="Permalink to this definition">¶</a><br /></dt>
<dd><p>Don't draw the series </p>
</dd></dl>

<dl class="cpp enumerator">
<dt id="_CPPv4NUt2_6218LV_CHART_TYPE_LINEE">
<span id="_CPPv3NUt2_6218LV_CHART_TYPE_LINEE"></span><span class="target" id="lv__chart_8h_1a2f80701c36e79c0640d91c788feee0b3abff0662492b645adf865b30f5b0d2b89"></span><em class="property"><span class="pre">enumerator</span> </em><code class="sig-name descname"><span class="pre">LV_CHART_TYPE_LINE</span></code><a class="headerlink" href="#_CPPv4NUt2_6218LV_CHART_TYPE_LINEE" title="Permalink to this definition">¶</a><br /></dt>
<dd><p>Connect the points with lines </p>
</dd></dl>

<dl class="cpp enumerator">
<dt id="_CPPv4NUt2_6220LV_CHART_TYPE_COLUMNE">
<span id="_CPPv3NUt2_6220LV_CHART_TYPE_COLUMNE"></span><span class="target" id="lv__chart_8h_1a2f80701c36e79c0640d91c788feee0b3abf19f5d6ed792beb06c7f7b49761a64b"></span><em class="property"><span class="pre">enumerator</span> </em><code class="sig-name descname"><span class="pre">LV_CHART_TYPE_COLUMN</span></code><a class="headerlink" href="#_CPPv4NUt2_6220LV_CHART_TYPE_COLUMNE" title="Permalink to this definition">¶</a><br /></dt>
<dd><p>Draw columns </p>
</dd></dl>

</dd></dl>

<dl class="cpp enum">
<dt id="_CPPv4Ut2_63">
<span id="_CPPv3Ut2_63"></span><span class="target" id="lv__chart_8h_1a531c35e38ede3ea4e5ba5afb24b29493"></span><em class="property"><span class="pre">enum</span> </em><strong><span class="pre">[anonymous]</span></strong><a class="headerlink" href="#_CPPv4Ut2_63" title="Permalink to this definition">¶</a><br /></dt>
<dd><p>Chart update mode for <code class="docutils literal notranslate"><span class="pre">lv_chart_set_next</span></code> </p>
<p><em>Values:</em></p>
<dl class="cpp enumerator">
<dt id="_CPPv4NUt2_6326LV_CHART_UPDATE_MODE_SHIFTE">
<span id="_CPPv3NUt2_6326LV_CHART_UPDATE_MODE_SHIFTE"></span><span class="target" id="lv__chart_8h_1a531c35e38ede3ea4e5ba5afb24b29493a9a0b47047328265061fc1ea51dc08f46"></span><em class="property"><span class="pre">enumerator</span> </em><code class="sig-name descname"><span class="pre">LV_CHART_UPDATE_MODE_SHIFT</span></code><a class="headerlink" href="#_CPPv4NUt2_6326LV_CHART_UPDATE_MODE_SHIFTE" title="Permalink to this definition">¶</a><br /></dt>
<dd><p>Shift old data to the left and add the new one o the right </p>
</dd></dl>

<dl class="cpp enumerator">
<dt id="_CPPv4NUt2_6329LV_CHART_UPDATE_MODE_CIRCULARE">
<span id="_CPPv3NUt2_6329LV_CHART_UPDATE_MODE_CIRCULARE"></span><span class="target" id="lv__chart_8h_1a531c35e38ede3ea4e5ba5afb24b29493a515b1f581d44fc656b1dc7a3b560b6f6"></span><em class="property"><span class="pre">enumerator</span> </em><code class="sig-name descname"><span class="pre">LV_CHART_UPDATE_MODE_CIRCULAR</span></code><a class="headerlink" href="#_CPPv4NUt2_6329LV_CHART_UPDATE_MODE_CIRCULARE" title="Permalink to this definition">¶</a><br /></dt>
<dd><p>Add the new data in a circular way </p>
</dd></dl>

</dd></dl>

<dl class="cpp enum">
<dt id="_CPPv4Ut2_64">
<span id="_CPPv3Ut2_64"></span><span class="target" id="lv__chart_8h_1a9334a5b9057f32da96db9b5c6a045d67"></span><em class="property"><span class="pre">enum</span> </em><strong><span class="pre">[anonymous]</span></strong><a class="headerlink" href="#_CPPv4Ut2_64" title="Permalink to this definition">¶</a><br /></dt>
<dd><p><em>Values:</em></p>
<dl class="cpp enumerator">
<dt id="_CPPv4NUt2_6423LV_CHART_AXIS_PRIMARY_YE">
<span id="_CPPv3NUt2_6423LV_CHART_AXIS_PRIMARY_YE"></span><span class="target" id="lv__chart_8h_1a9334a5b9057f32da96db9b5c6a045d67ab4d56111d313fae7564ace970f5030de"></span><em class="property"><span class="pre">enumerator</span> </em><code class="sig-name descname"><span class="pre">LV_CHART_AXIS_PRIMARY_Y</span></code><a class="headerlink" href="#_CPPv4NUt2_6423LV_CHART_AXIS_PRIMARY_YE" title="Permalink to this definition">¶</a><br /></dt>
<dd></dd></dl>

<dl class="cpp enumerator">
<dt id="_CPPv4NUt2_6425LV_CHART_AXIS_SECONDARY_YE">
<span id="_CPPv3NUt2_6425LV_CHART_AXIS_SECONDARY_YE"></span><span class="target" id="lv__chart_8h_1a9334a5b9057f32da96db9b5c6a045d67af7adb009e843a6b0688afb27b3cb3fe2"></span><em class="property"><span class="pre">enumerator</span> </em><code class="sig-name descname"><span class="pre">LV_CHART_AXIS_SECONDARY_Y</span></code><a class="headerlink" href="#_CPPv4NUt2_6425LV_CHART_AXIS_SECONDARY_YE" title="Permalink to this definition">¶</a><br /></dt>
<dd></dd></dl>

<dl class="cpp enumerator">
<dt id="_CPPv4NUt2_6419_LV_CHART_AXIS_LASTE">
<span id="_CPPv3NUt2_6419_LV_CHART_AXIS_LASTE"></span><span class="target" id="lv__chart_8h_1a9334a5b9057f32da96db9b5c6a045d67a87d8aedcf1ced7e7aaf8a1283e1c6b38"></span><em class="property"><span class="pre">enumerator</span> </em><code class="sig-name descname"><span class="pre">_LV_CHART_AXIS_LAST</span></code><a class="headerlink" href="#_CPPv4NUt2_6419_LV_CHART_AXIS_LASTE" title="Permalink to this definition">¶</a><br /></dt>
<dd></dd></dl>

</dd></dl>

<dl class="cpp enum">
<dt id="_CPPv4Ut2_65">
<span id="_CPPv3Ut2_65"></span><span class="target" id="lv__chart_8h_1a8628933cde20921c453a6d2607bdad62"></span><em class="property"><span class="pre">enum</span> </em><strong><span class="pre">[anonymous]</span></strong><a class="headerlink" href="#_CPPv4Ut2_65" title="Permalink to this definition">¶</a><br /></dt>
<dd><p><em>Values:</em></p>
<dl class="cpp enumerator">
<dt id="_CPPv4NUt2_6520LV_CHART_CURSOR_NONEE">
<span id="_CPPv3NUt2_6520LV_CHART_CURSOR_NONEE"></span><span class="target" id="lv__chart_8h_1a8628933cde20921c453a6d2607bdad62ac50edf1b60c8689c623db9758ab1999d"></span><em class="property"><span class="pre">enumerator</span> </em><code class="sig-name descname"><span class="pre">LV_CHART_CURSOR_NONE</span></code><a class="headerlink" href="#_CPPv4NUt2_6520LV_CHART_CURSOR_NONEE" title="Permalink to this definition">¶</a><br /></dt>
<dd></dd></dl>

<dl class="cpp enumerator">
<dt id="_CPPv4NUt2_6521LV_CHART_CURSOR_RIGHTE">
<span id="_CPPv3NUt2_6521LV_CHART_CURSOR_RIGHTE"></span><span class="target" id="lv__chart_8h_1a8628933cde20921c453a6d2607bdad62a7b4a264cf39c763ee514afac769ed156"></span><em class="property"><span class="pre">enumerator</span> </em><code class="sig-name descname"><span class="pre">LV_CHART_CURSOR_RIGHT</span></code><a class="headerlink" href="#_CPPv4NUt2_6521LV_CHART_CURSOR_RIGHTE" title="Permalink to this definition">¶</a><br /></dt>
<dd></dd></dl>

<dl class="cpp enumerator">
<dt id="_CPPv4NUt2_6518LV_CHART_CURSOR_UPE">
<span id="_CPPv3NUt2_6518LV_CHART_CURSOR_UPE"></span><span class="target" id="lv__chart_8h_1a8628933cde20921c453a6d2607bdad62a53ca0eac4248d2b02893a16e4fe97076"></span><em class="property"><span class="pre">enumerator</span> </em><code class="sig-name descname"><span class="pre">LV_CHART_CURSOR_UP</span></code><a class="headerlink" href="#_CPPv4NUt2_6518LV_CHART_CURSOR_UPE" title="Permalink to this definition">¶</a><br /></dt>
<dd></dd></dl>

<dl class="cpp enumerator">
<dt id="_CPPv4NUt2_6520LV_CHART_CURSOR_LEFTE">
<span id="_CPPv3NUt2_6520LV_CHART_CURSOR_LEFTE"></span><span class="target" id="lv__chart_8h_1a8628933cde20921c453a6d2607bdad62ae38079f3f16e1a026fd8a3e0d74fb20d"></span><em class="property"><span class="pre">enumerator</span> </em><code class="sig-name descname"><span class="pre">LV_CHART_CURSOR_LEFT</span></code><a class="headerlink" href="#_CPPv4NUt2_6520LV_CHART_CURSOR_LEFTE" title="Permalink to this definition">¶</a><br /></dt>
<dd></dd></dl>

<dl class="cpp enumerator">
<dt id="_CPPv4NUt2_6520LV_CHART_CURSOR_DOWNE">
<span id="_CPPv3NUt2_6520LV_CHART_CURSOR_DOWNE"></span><span class="target" id="lv__chart_8h_1a8628933cde20921c453a6d2607bdad62af2609e3d10df24f5aa342a21b7da2aaf"></span><em class="property"><span class="pre">enumerator</span> </em><code class="sig-name descname"><span class="pre">LV_CHART_CURSOR_DOWN</span></code><a class="headerlink" href="#_CPPv4NUt2_6520LV_CHART_CURSOR_DOWNE" title="Permalink to this definition">¶</a><br /></dt>
<dd></dd></dl>

</dd></dl>

<dl class="cpp enum">
<dt id="_CPPv4Ut2_66">
<span id="_CPPv3Ut2_66"></span><span class="target" id="lv__chart_8h_1ade9ca5088d171ad20b4c237f1c2d6260"></span><em class="property"><span class="pre">enum</span> </em><strong><span class="pre">[anonymous]</span></strong><a class="headerlink" href="#_CPPv4Ut2_66" title="Permalink to this definition">¶</a><br /></dt>
<dd><p>Data of axis </p>
<p><em>Values:</em></p>
<dl class="cpp enumerator">
<dt id="_CPPv4NUt2_6628LV_CHART_AXIS_SKIP_LAST_TICKE">
<span id="_CPPv3NUt2_6628LV_CHART_AXIS_SKIP_LAST_TICKE"></span><span class="target" id="lv__chart_8h_1ade9ca5088d171ad20b4c237f1c2d6260aaa6d8013fd860fece76906ef22f9cdd0"></span><em class="property"><span class="pre">enumerator</span> </em><code class="sig-name descname"><span class="pre">LV_CHART_AXIS_SKIP_LAST_TICK</span></code><a class="headerlink" href="#_CPPv4NUt2_6628LV_CHART_AXIS_SKIP_LAST_TICKE" title="Permalink to this definition">¶</a><br /></dt>
<dd><p>don't draw the last tick </p>
</dd></dl>

<dl class="cpp enumerator">
<dt id="_CPPv4NUt2_6628LV_CHART_AXIS_DRAW_LAST_TICKE">
<span id="_CPPv3NUt2_6628LV_CHART_AXIS_DRAW_LAST_TICKE"></span><span class="target" id="lv__chart_8h_1ade9ca5088d171ad20b4c237f1c2d6260a852104464a5ec09a422bdc7e48b2930d"></span><em class="property"><span class="pre">enumerator</span> </em><code class="sig-name descname"><span class="pre">LV_CHART_AXIS_DRAW_LAST_TICK</span></code><a class="headerlink" href="#_CPPv4NUt2_6628LV_CHART_AXIS_DRAW_LAST_TICKE" title="Permalink to this definition">¶</a><br /></dt>
<dd><p>draw the last tick </p>
</dd></dl>

<dl class="cpp enumerator">
<dt id="_CPPv4NUt2_6634LV_CHART_AXIS_INVERSE_LABELS_ORDERE">
<span id="_CPPv3NUt2_6634LV_CHART_AXIS_INVERSE_LABELS_ORDERE"></span><span class="target" id="lv__chart_8h_1ade9ca5088d171ad20b4c237f1c2d6260a2969ab48d85feb3ec57a55c2be14907a"></span><em class="property"><span class="pre">enumerator</span> </em><code class="sig-name descname"><span class="pre">LV_CHART_AXIS_INVERSE_LABELS_ORDER</span></code><a class="headerlink" href="#_CPPv4NUt2_6634LV_CHART_AXIS_INVERSE_LABELS_ORDERE" title="Permalink to this definition">¶</a><br /></dt>
<dd><p>draw tick labels in an inverted order </p>
</dd></dl>

</dd></dl>

<dl class="cpp enum">
<dt id="_CPPv4Ut2_67">
<span id="_CPPv3Ut2_67"></span><span class="target" id="lv__chart_8h_1a9e93d8eae633734dfeb29e24a1f3a7c0"></span><em class="property"><span class="pre">enum</span> </em><strong><span class="pre">[anonymous]</span></strong><a class="headerlink" href="#_CPPv4Ut2_67" title="Permalink to this definition">¶</a><br /></dt>
<dd><p><em>Values:</em></p>
<dl class="cpp enumerator">
<dt id="_CPPv4NUt2_6716LV_CHART_PART_BGE">
<span id="_CPPv3NUt2_6716LV_CHART_PART_BGE"></span><span class="target" id="lv__chart_8h_1a9e93d8eae633734dfeb29e24a1f3a7c0a3c7f6292a2d34c895a000aeb3ea539af"></span><em class="property"><span class="pre">enumerator</span> </em><code class="sig-name descname"><span class="pre">LV_CHART_PART_BG</span></code><a class="headerlink" href="#_CPPv4NUt2_6716LV_CHART_PART_BGE" title="Permalink to this definition">¶</a><br /></dt>
<dd></dd></dl>

<dl class="cpp enumerator">
<dt id="_CPPv4NUt2_6723LV_CHART_PART_SERIES_BGE">
<span id="_CPPv3NUt2_6723LV_CHART_PART_SERIES_BGE"></span><span class="target" id="lv__chart_8h_1a9e93d8eae633734dfeb29e24a1f3a7c0a4344e583c750186b28c1c63d4cd7ae4d"></span><em class="property"><span class="pre">enumerator</span> </em><code class="sig-name descname"><span class="pre">LV_CHART_PART_SERIES_BG</span></code><a class="headerlink" href="#_CPPv4NUt2_6723LV_CHART_PART_SERIES_BGE" title="Permalink to this definition">¶</a><br /></dt>
<dd></dd></dl>

<dl class="cpp enumerator">
<dt id="_CPPv4NUt2_6720LV_CHART_PART_SERIESE">
<span id="_CPPv3NUt2_6720LV_CHART_PART_SERIESE"></span><span class="target" id="lv__chart_8h_1a9e93d8eae633734dfeb29e24a1f3a7c0ab40091003df0d6ed349300a2734b0470"></span><em class="property"><span class="pre">enumerator</span> </em><code class="sig-name descname"><span class="pre">LV_CHART_PART_SERIES</span></code><a class="headerlink" href="#_CPPv4NUt2_6720LV_CHART_PART_SERIESE" title="Permalink to this definition">¶</a><br /></dt>
<dd></dd></dl>

<dl class="cpp enumerator">
<dt id="_CPPv4NUt2_6720LV_CHART_PART_CURSORE">
<span id="_CPPv3NUt2_6720LV_CHART_PART_CURSORE"></span><span class="target" id="lv__chart_8h_1a9e93d8eae633734dfeb29e24a1f3a7c0adb19414a1aab461e05828818e9125db5"></span><em class="property"><span class="pre">enumerator</span> </em><code class="sig-name descname"><span class="pre">LV_CHART_PART_CURSOR</span></code><a class="headerlink" href="#_CPPv4NUt2_6720LV_CHART_PART_CURSORE" title="Permalink to this definition">¶</a><br /></dt>
<dd></dd></dl>

</dd></dl>

</div>
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric" id="breathe-section-title-functions">Functions</p>
<dl class="cpp function">
<dt id="_CPPv419LV_EXPORT_CONST_INT18LV_CHART_POINT_DEF">
<span id="_CPPv319LV_EXPORT_CONST_INT18LV_CHART_POINT_DEF"></span><span id="_CPPv219LV_EXPORT_CONST_INT18LV_CHART_POINT_DEF"></span><span id="LV_EXPORT_CONST_INT__LV_CHART_POINT_DEF"></span><span class="target" id="lv__chart_8h_1a1a66595b2df6ebc49c2cc46de1f547d1"></span><code class="sig-name descname"><span class="pre">LV_EXPORT_CONST_INT</span></code><span class="sig-paren">(</span><span class="pre">LV_CHART_POINT_DEF</span><span class="sig-paren">)</span><a class="headerlink" href="#_CPPv419LV_EXPORT_CONST_INT18LV_CHART_POINT_DEF" title="Permalink to this definition">¶</a><br /></dt>
<dd></dd></dl>

<dl class="cpp function">
<dt id="_CPPv419LV_EXPORT_CONST_INT25LV_CHART_TICK_LENGTH_AUTO">
<span id="_CPPv319LV_EXPORT_CONST_INT25LV_CHART_TICK_LENGTH_AUTO"></span><span id="_CPPv219LV_EXPORT_CONST_INT25LV_CHART_TICK_LENGTH_AUTO"></span><span id="LV_EXPORT_CONST_INT__LV_CHART_TICK_LENGTH_AUTO"></span><span class="target" id="lv__chart_8h_1a3e84aebc36e338d7838d1dd77b4ed7f6"></span><code class="sig-name descname"><span class="pre">LV_EXPORT_CONST_INT</span></code><span class="sig-paren">(</span><span class="pre">LV_CHART_TICK_LENGTH_AUTO</span><span class="sig-paren">)</span><a class="headerlink" href="#_CPPv419LV_EXPORT_CONST_INT25LV_CHART_TICK_LENGTH_AUTO" title="Permalink to this definition">¶</a><br /></dt>
<dd></dd></dl>

<dl class="cpp function">
<dt id="_CPPv415lv_chart_createP8lv_obj_tPK8lv_obj_t">
<span id="_CPPv315lv_chart_createP8lv_obj_tPK8lv_obj_t"></span><span id="_CPPv215lv_chart_createP8lv_obj_tPK8lv_obj_t"></span><span id="lv_chart_create__lv_obj_tP.lv_obj_tCP"></span><span class="target" id="lv__chart_8h_1a00212c5e9d51a8c06dd3f29b7b8ff9ae"></span><a class="reference internal" href="obj.html#_CPPv48lv_obj_t" title="lv_obj_t"><span class="pre">lv_obj_t</span></a> <span class="pre">*</span><code class="sig-name descname"><span class="pre">lv_chart_create</span></code><span class="sig-paren">(</span><a class="reference internal" href="obj.html#_CPPv48lv_obj_t" title="lv_obj_t"><span class="pre">lv_obj_t</span></a> <span class="pre">*</span><em><span class="pre">par</span></em>, <em class="property"><span class="pre">const</span></em> <a class="reference internal" href="obj.html#_CPPv48lv_obj_t" title="lv_obj_t"><span class="pre">lv_obj_t</span></a> <span class="pre">*</span><em><span class="pre">copy</span></em><span class="sig-paren">)</span><a class="headerlink" href="#_CPPv415lv_chart_createP8lv_obj_tPK8lv_obj_t" title="Permalink to this definition">¶</a><br /></dt>
<dd><p>Create a chart background objects </p>
<dl class="field-list simple">
<dt class="field-odd">Parameters</dt>
<dd class="field-odd"><ul class="simple">
<li><p><strong>par</strong> -- pointer to an object, it will be the parent of the new chart background </p></li>
<li><p><strong>copy</strong> -- pointer to a chart background object, if not NULL then the new object will be copied from it </p></li>
</ul>
</dd>
<dt class="field-even">Returns</dt>
<dd class="field-even"><p>pointer to the created chart background </p>
</dd>
</dl>
</dd></dl>

<dl class="cpp function">
<dt id="_CPPv419lv_chart_add_seriesP8lv_obj_t10lv_color_t">
<span id="_CPPv319lv_chart_add_seriesP8lv_obj_t10lv_color_t"></span><span id="_CPPv219lv_chart_add_seriesP8lv_obj_t10lv_color_t"></span><span id="lv_chart_add_series__lv_obj_tP.lv_color_t"></span><span class="target" id="lv__chart_8h_1ac58df9d2fd4b65ffccd7412c7ad3c78c"></span><a class="reference internal" href="#_CPPv417lv_chart_series_t" title="lv_chart_series_t"><span class="pre">lv_chart_series_t</span></a> <span class="pre">*</span><code class="sig-name descname"><span class="pre">lv_chart_add_series</span></code><span class="sig-paren">(</span><a class="reference internal" href="obj.html#_CPPv48lv_obj_t" title="lv_obj_t"><span class="pre">lv_obj_t</span></a> <span class="pre">*</span><em><span class="pre">chart</span></em>, <span class="pre">lv_color_t</span> <em><span class="pre">color</span></em><span class="sig-paren">)</span><a class="headerlink" href="#_CPPv419lv_chart_add_seriesP8lv_obj_t10lv_color_t" title="Permalink to this definition">¶</a><br /></dt>
<dd><p>Allocate and add a data series to the chart </p>
<dl class="field-list simple">
<dt class="field-odd">Parameters</dt>
<dd class="field-odd"><ul class="simple">
<li><p><strong>chart</strong> -- pointer to a chart object </p></li>
<li><p><strong>color</strong> -- color of the data series </p></li>
</ul>
</dd>
<dt class="field-even">Returns</dt>
<dd class="field-even"><p>pointer to the allocated data series </p>
</dd>
</dl>
</dd></dl>

<dl class="cpp function">
<dt id="_CPPv422lv_chart_remove_seriesP8lv_obj_tP17lv_chart_series_t">
<span id="_CPPv322lv_chart_remove_seriesP8lv_obj_tP17lv_chart_series_t"></span><span id="_CPPv222lv_chart_remove_seriesP8lv_obj_tP17lv_chart_series_t"></span><span id="lv_chart_remove_series__lv_obj_tP.lv_chart_series_tP"></span><span class="target" id="lv__chart_8h_1aaf5d4b66090476ecfc095e5b8ba68a11"></span><span class="pre">void</span> <code class="sig-name descname"><span class="pre">lv_chart_remove_series</span></code><span class="sig-paren">(</span><a class="reference internal" href="obj.html#_CPPv48lv_obj_t" title="lv_obj_t"><span class="pre">lv_obj_t</span></a> <span class="pre">*</span><em><span class="pre">chart</span></em>, <a class="reference internal" href="#_CPPv417lv_chart_series_t" title="lv_chart_series_t"><span class="pre">lv_chart_series_t</span></a> <span class="pre">*</span><em><span class="pre">series</span></em><span class="sig-paren">)</span><a class="headerlink" href="#_CPPv422lv_chart_remove_seriesP8lv_obj_tP17lv_chart_series_t" title="Permalink to this definition">¶</a><br /></dt>
<dd><p>Deallocate and remove a data series from a chart </p>
<dl class="field-list simple">
<dt class="field-odd">Parameters</dt>
<dd class="field-odd"><ul class="simple">
<li><p><strong>chart</strong> -- pointer to a chart object </p></li>
<li><p><strong>series</strong> -- pointer to a data series on 'chart' </p></li>
</ul>
</dd>
</dl>
</dd></dl>

<dl class="cpp function">
<dt id="_CPPv419lv_chart_add_cursorP8lv_obj_t10lv_color_t21lv_cursor_direction_t">
<span id="_CPPv319lv_chart_add_cursorP8lv_obj_t10lv_color_t21lv_cursor_direction_t"></span><span id="_CPPv219lv_chart_add_cursorP8lv_obj_t10lv_color_t21lv_cursor_direction_t"></span><span id="lv_chart_add_cursor__lv_obj_tP.lv_color_t.lv_cursor_direction_t"></span><span class="target" id="lv__chart_8h_1a9132a806cd7db7cbb3e422eaf488478e"></span><a class="reference internal" href="#_CPPv417lv_chart_cursor_t" title="lv_chart_cursor_t"><span class="pre">lv_chart_cursor_t</span></a> <span class="pre">*</span><code class="sig-name descname"><span class="pre">lv_chart_add_cursor</span></code><span class="sig-paren">(</span><a class="reference internal" href="obj.html#_CPPv48lv_obj_t" title="lv_obj_t"><span class="pre">lv_obj_t</span></a> <span class="pre">*</span><em><span class="pre">chart</span></em>, <span class="pre">lv_color_t</span> <em><span class="pre">color</span></em>, <a class="reference internal" href="#_CPPv421lv_cursor_direction_t" title="lv_cursor_direction_t"><span class="pre">lv_cursor_direction_t</span></a> <em><span class="pre">dir</span></em><span class="sig-paren">)</span><a class="headerlink" href="#_CPPv419lv_chart_add_cursorP8lv_obj_t10lv_color_t21lv_cursor_direction_t" title="Permalink to this definition">¶</a><br /></dt>
<dd><p>Add a cursor with a given color </p>
<dl class="field-list simple">
<dt class="field-odd">Parameters</dt>
<dd class="field-odd"><ul class="simple">
<li><p><strong>chart</strong> -- pointer to chart object </p></li>
<li><p><strong>color</strong> -- color of the cursor </p></li>
<li><p><strong>dir</strong> -- direction of the cursor. <code class="docutils literal notranslate"><span class="pre">LV_CHART_CURSOR_RIGHT/LEFT/TOP/DOWN</span></code>. OR-ed values are possible </p></li>
</ul>
</dd>
<dt class="field-even">Returns</dt>
<dd class="field-even"><p>pointer to the created cursor </p>
</dd>
</dl>
</dd></dl>

<dl class="cpp function">
<dt id="_CPPv421lv_chart_clear_seriesP8lv_obj_tP17lv_chart_series_t">
<span id="_CPPv321lv_chart_clear_seriesP8lv_obj_tP17lv_chart_series_t"></span><span id="_CPPv221lv_chart_clear_seriesP8lv_obj_tP17lv_chart_series_t"></span><span id="lv_chart_clear_series__lv_obj_tP.lv_chart_series_tP"></span><span class="target" id="lv__chart_8h_1a12a76dacda08ba1e10ece4947f33c18c"></span><span class="pre">void</span> <code class="sig-name descname"><span class="pre">lv_chart_clear_series</span></code><span class="sig-paren">(</span><a class="reference internal" href="obj.html#_CPPv48lv_obj_t" title="lv_obj_t"><span class="pre">lv_obj_t</span></a> <span class="pre">*</span><em><span class="pre">chart</span></em>, <a class="reference internal" href="#_CPPv417lv_chart_series_t" title="lv_chart_series_t"><span class="pre">lv_chart_series_t</span></a> <span class="pre">*</span><em><span class="pre">series</span></em><span class="sig-paren">)</span><a class="headerlink" href="#_CPPv421lv_chart_clear_seriesP8lv_obj_tP17lv_chart_series_t" title="Permalink to this definition">¶</a><br /></dt>
<dd><p>Clear the point of a series </p>
<dl class="field-list simple">
<dt class="field-odd">Parameters</dt>
<dd class="field-odd"><ul class="simple">
<li><p><strong>chart</strong> -- pointer to a chart object </p></li>
<li><p><strong>series</strong> -- pointer to the chart's series to clear </p></li>
</ul>
</dd>
</dl>
</dd></dl>

<dl class="cpp function">
<dt id="_CPPv420lv_chart_hide_seriesP8lv_obj_tP17lv_chart_series_tb">
<span id="_CPPv320lv_chart_hide_seriesP8lv_obj_tP17lv_chart_series_tb"></span><span id="_CPPv220lv_chart_hide_seriesP8lv_obj_tP17lv_chart_series_tb"></span><span id="lv_chart_hide_series__lv_obj_tP.lv_chart_series_tP.b"></span><span class="target" id="lv__chart_8h_1a5e5d862b392e536043c1a0c7f69ef7ce"></span><span class="pre">void</span> <code class="sig-name descname"><span class="pre">lv_chart_hide_series</span></code><span class="sig-paren">(</span><a class="reference internal" href="obj.html#_CPPv48lv_obj_t" title="lv_obj_t"><span class="pre">lv_obj_t</span></a> <span class="pre">*</span><em><span class="pre">chart</span></em>, <a class="reference internal" href="#_CPPv417lv_chart_series_t" title="lv_chart_series_t"><span class="pre">lv_chart_series_t</span></a> <span class="pre">*</span><em><span class="pre">series</span></em>, <span class="pre">bool</span> <em><span class="pre">hide</span></em><span class="sig-paren">)</span><a class="headerlink" href="#_CPPv420lv_chart_hide_seriesP8lv_obj_tP17lv_chart_series_tb" title="Permalink to this definition">¶</a><br /></dt>
<dd><p>Hide/Unhide a single series of a chart. </p>
<dl class="field-list simple">
<dt class="field-odd">Parameters</dt>
<dd class="field-odd"><ul class="simple">
<li><p><strong>chart</strong> -- pointer to a chart object. </p></li>
<li><p><strong>series</strong> -- pointer to a series object </p></li>
<li><p><strong>hide</strong> -- true: hide the series </p></li>
</ul>
</dd>
</dl>
</dd></dl>

<dl class="cpp function">
<dt id="_CPPv427lv_chart_set_div_line_countP8lv_obj_t7uint8_t7uint8_t">
<span id="_CPPv327lv_chart_set_div_line_countP8lv_obj_t7uint8_t7uint8_t"></span><span id="_CPPv227lv_chart_set_div_line_countP8lv_obj_t7uint8_t7uint8_t"></span><span id="lv_chart_set_div_line_count__lv_obj_tP.uint8_t.uint8_t"></span><span class="target" id="lv__chart_8h_1af1a1e796528f13129ee42b8ecf78345c"></span><span class="pre">void</span> <code class="sig-name descname"><span class="pre">lv_chart_set_div_line_count</span></code><span class="sig-paren">(</span><a class="reference internal" href="obj.html#_CPPv48lv_obj_t" title="lv_obj_t"><span class="pre">lv_obj_t</span></a> <span class="pre">*</span><em><span class="pre">chart</span></em>, <span class="pre">uint8_t</span> <em><span class="pre">hdiv</span></em>, <span class="pre">uint8_t</span> <em><span class="pre">vdiv</span></em><span class="sig-paren">)</span><a class="headerlink" href="#_CPPv427lv_chart_set_div_line_countP8lv_obj_t7uint8_t7uint8_t" title="Permalink to this definition">¶</a><br /></dt>
<dd><p>Set the number of horizontal and vertical division lines </p>
<dl class="field-list simple">
<dt class="field-odd">Parameters</dt>
<dd class="field-odd"><ul class="simple">
<li><p><strong>chart</strong> -- pointer to a graph background object </p></li>
<li><p><strong>hdiv</strong> -- number of horizontal division lines </p></li>
<li><p><strong>vdiv</strong> -- number of vertical division lines </p></li>
</ul>
</dd>
</dl>
</dd></dl>

<dl class="cpp function">
<dt id="_CPPv420lv_chart_set_y_rangeP8lv_obj_t15lv_chart_axis_t10lv_coord_t10lv_coord_t">
<span id="_CPPv320lv_chart_set_y_rangeP8lv_obj_t15lv_chart_axis_t10lv_coord_t10lv_coord_t"></span><span id="_CPPv220lv_chart_set_y_rangeP8lv_obj_t15lv_chart_axis_t10lv_coord_t10lv_coord_t"></span><span id="lv_chart_set_y_range__lv_obj_tP.lv_chart_axis_t.lv_coord_t.lv_coord_t"></span><span class="target" id="lv__chart_8h_1a1a10d04193ca6dff48549a1adc98d17e"></span><span class="pre">void</span> <code class="sig-name descname"><span class="pre">lv_chart_set_y_range</span></code><span class="sig-paren">(</span><a class="reference internal" href="obj.html#_CPPv48lv_obj_t" title="lv_obj_t"><span class="pre">lv_obj_t</span></a> <span class="pre">*</span><em><span class="pre">chart</span></em>, <a class="reference internal" href="#_CPPv415lv_chart_axis_t" title="lv_chart_axis_t"><span class="pre">lv_chart_axis_t</span></a> <em><span class="pre">axis</span></em>, <span class="pre">lv_coord_t</span> <em><span class="pre">ymin</span></em>, <span class="pre">lv_coord_t</span> <em><span class="pre">ymax</span></em><span class="sig-paren">)</span><a class="headerlink" href="#_CPPv420lv_chart_set_y_rangeP8lv_obj_t15lv_chart_axis_t10lv_coord_t10lv_coord_t" title="Permalink to this definition">¶</a><br /></dt>
<dd><p>Set the minimal and maximal y values on an axis </p>
<dl class="field-list simple">
<dt class="field-odd">Parameters</dt>
<dd class="field-odd"><ul class="simple">
<li><p><strong>chart</strong> -- pointer to a graph background object </p></li>
<li><p><strong>axis</strong> -- <code class="docutils literal notranslate"><span class="pre">LV_CHART_AXIS_PRIMARY_Y</span></code> or <code class="docutils literal notranslate"><span class="pre">LV_CHART_AXIS_SECONDARY_Y</span></code> </p></li>
<li><p><strong>ymin</strong> -- y minimum value </p></li>
<li><p><strong>ymax</strong> -- y maximum value </p></li>
</ul>
</dd>
</dl>
</dd></dl>

<dl class="cpp function">
<dt id="_CPPv417lv_chart_set_typeP8lv_obj_t15lv_chart_type_t">
<span id="_CPPv317lv_chart_set_typeP8lv_obj_t15lv_chart_type_t"></span><span id="_CPPv217lv_chart_set_typeP8lv_obj_t15lv_chart_type_t"></span><span id="lv_chart_set_type__lv_obj_tP.lv_chart_type_t"></span><span class="target" id="lv__chart_8h_1ab37e407ed3add8795a4a8e6db3fe0548"></span><span class="pre">void</span> <code class="sig-name descname"><span class="pre">lv_chart_set_type</span></code><span class="sig-paren">(</span><a class="reference internal" href="obj.html#_CPPv48lv_obj_t" title="lv_obj_t"><span class="pre">lv_obj_t</span></a> <span class="pre">*</span><em><span class="pre">chart</span></em>, <a class="reference internal" href="#_CPPv415lv_chart_type_t" title="lv_chart_type_t"><span class="pre">lv_chart_type_t</span></a> <em><span class="pre">type</span></em><span class="sig-paren">)</span><a class="headerlink" href="#_CPPv417lv_chart_set_typeP8lv_obj_t15lv_chart_type_t" title="Permalink to this definition">¶</a><br /></dt>
<dd><p>Set a new type for a chart </p>
<dl class="field-list simple">
<dt class="field-odd">Parameters</dt>
<dd class="field-odd"><ul class="simple">
<li><p><strong>chart</strong> -- pointer to a chart object </p></li>
<li><p><strong>type</strong> -- new type of the chart (from 'lv_chart_type_t' enum) </p></li>
</ul>
</dd>
</dl>
</dd></dl>

<dl class="cpp function">
<dt id="_CPPv424lv_chart_set_point_countP8lv_obj_t8uint16_t">
<span id="_CPPv324lv_chart_set_point_countP8lv_obj_t8uint16_t"></span><span id="_CPPv224lv_chart_set_point_countP8lv_obj_t8uint16_t"></span><span id="lv_chart_set_point_count__lv_obj_tP.uint16_t"></span><span class="target" id="lv__chart_8h_1a81b810669221ef6d5a8aee37506dd715"></span><span class="pre">void</span> <code class="sig-name descname"><span class="pre">lv_chart_set_point_count</span></code><span class="sig-paren">(</span><a class="reference internal" href="obj.html#_CPPv48lv_obj_t" title="lv_obj_t"><span class="pre">lv_obj_t</span></a> <span class="pre">*</span><em><span class="pre">chart</span></em>, <span class="pre">uint16_t</span> <em><span class="pre">point_cnt</span></em><span class="sig-paren">)</span><a class="headerlink" href="#_CPPv424lv_chart_set_point_countP8lv_obj_t8uint16_t" title="Permalink to this definition">¶</a><br /></dt>
<dd><p>Set the number of points on a data line on a chart </p>
<dl class="field-list simple">
<dt class="field-odd">Parameters</dt>
<dd class="field-odd"><ul class="simple">
<li><p><strong>chart</strong> -- pointer r to chart object </p></li>
<li><p><strong>point_cnt</strong> -- new number of points on the data lines </p></li>
</ul>
</dd>
</dl>
</dd></dl>

<dl class="cpp function">
<dt id="_CPPv420lv_chart_init_pointsP8lv_obj_tP17lv_chart_series_t10lv_coord_t">
<span id="_CPPv320lv_chart_init_pointsP8lv_obj_tP17lv_chart_series_t10lv_coord_t"></span><span id="_CPPv220lv_chart_init_pointsP8lv_obj_tP17lv_chart_series_t10lv_coord_t"></span><span id="lv_chart_init_points__lv_obj_tP.lv_chart_series_tP.lv_coord_t"></span><span class="target" id="lv__chart_8h_1a4be26cf909097708ea9f32666f0ca8ea"></span><span class="pre">void</span> <code class="sig-name descname"><span class="pre">lv_chart_init_points</span></code><span class="sig-paren">(</span><a class="reference internal" href="obj.html#_CPPv48lv_obj_t" title="lv_obj_t"><span class="pre">lv_obj_t</span></a> <span class="pre">*</span><em><span class="pre">chart</span></em>, <a class="reference internal" href="#_CPPv417lv_chart_series_t" title="lv_chart_series_t"><span class="pre">lv_chart_series_t</span></a> <span class="pre">*</span><em><span class="pre">ser</span></em>, <span class="pre">lv_coord_t</span> <em><span class="pre">y</span></em><span class="sig-paren">)</span><a class="headerlink" href="#_CPPv420lv_chart_init_pointsP8lv_obj_tP17lv_chart_series_t10lv_coord_t" title="Permalink to this definition">¶</a><br /></dt>
<dd><p>Initialize all data points with a value </p>
<dl class="field-list simple">
<dt class="field-odd">Parameters</dt>
<dd class="field-odd"><ul class="simple">
<li><p><strong>chart</strong> -- pointer to chart object </p></li>
<li><p><strong>ser</strong> -- pointer to a data series on 'chart' </p></li>
<li><p><strong>y</strong> -- the new value for all points </p></li>
</ul>
</dd>
</dl>
</dd></dl>

<dl class="cpp function">
<dt id="_CPPv419lv_chart_set_pointsP8lv_obj_tP17lv_chart_series_tA_10lv_coord_t">
<span id="_CPPv319lv_chart_set_pointsP8lv_obj_tP17lv_chart_series_tA_10lv_coord_t"></span><span id="_CPPv219lv_chart_set_pointsP8lv_obj_tP17lv_chart_series_tA_10lv_coord_t"></span><span id="lv_chart_set_points__lv_obj_tP.lv_chart_series_tP.lv_coord_tA"></span><span class="target" id="lv__chart_8h_1a613a2eb5ec662dbb0c14ebc46784827e"></span><span class="pre">void</span> <code class="sig-name descname"><span class="pre">lv_chart_set_points</span></code><span class="sig-paren">(</span><a class="reference internal" href="obj.html#_CPPv48lv_obj_t" title="lv_obj_t"><span class="pre">lv_obj_t</span></a> <span class="pre">*</span><em><span class="pre">chart</span></em>, <a class="reference internal" href="#_CPPv417lv_chart_series_t" title="lv_chart_series_t"><span class="pre">lv_chart_series_t</span></a> <span class="pre">*</span><em><span class="pre">ser</span></em>, <span class="pre">lv_coord_t</span> <em><span class="pre">y_array</span></em><span class="pre">[</span><span class="pre">]</span><span class="sig-paren">)</span><a class="headerlink" href="#_CPPv419lv_chart_set_pointsP8lv_obj_tP17lv_chart_series_tA_10lv_coord_t" title="Permalink to this definition">¶</a><br /></dt>
<dd><p>Set the value of points from an array </p>
<dl class="field-list simple">
<dt class="field-odd">Parameters</dt>
<dd class="field-odd"><ul class="simple">
<li><p><strong>chart</strong> -- pointer to chart object </p></li>
<li><p><strong>ser</strong> -- pointer to a data series on 'chart' </p></li>
<li><p><strong>y_array</strong> -- array of 'lv_coord_t' points (with 'points count' elements ) </p></li>
</ul>
</dd>
</dl>
</dd></dl>

<dl class="cpp function">
<dt id="_CPPv417lv_chart_set_nextP8lv_obj_tP17lv_chart_series_t10lv_coord_t">
<span id="_CPPv317lv_chart_set_nextP8lv_obj_tP17lv_chart_series_t10lv_coord_t"></span><span id="_CPPv217lv_chart_set_nextP8lv_obj_tP17lv_chart_series_t10lv_coord_t"></span><span id="lv_chart_set_next__lv_obj_tP.lv_chart_series_tP.lv_coord_t"></span><span class="target" id="lv__chart_8h_1a39dc65670b6c2ec8747690314ca28190"></span><span class="pre">void</span> <code class="sig-name descname"><span class="pre">lv_chart_set_next</span></code><span class="sig-paren">(</span><a class="reference internal" href="obj.html#_CPPv48lv_obj_t" title="lv_obj_t"><span class="pre">lv_obj_t</span></a> <span class="pre">*</span><em><span class="pre">chart</span></em>, <a class="reference internal" href="#_CPPv417lv_chart_series_t" title="lv_chart_series_t"><span class="pre">lv_chart_series_t</span></a> <span class="pre">*</span><em><span class="pre">ser</span></em>, <span class="pre">lv_coord_t</span> <em><span class="pre">y</span></em><span class="sig-paren">)</span><a class="headerlink" href="#_CPPv417lv_chart_set_nextP8lv_obj_tP17lv_chart_series_t10lv_coord_t" title="Permalink to this definition">¶</a><br /></dt>
<dd><p>Shift all data right and set the most right data on a data line </p>
<dl class="field-list simple">
<dt class="field-odd">Parameters</dt>
<dd class="field-odd"><ul class="simple">
<li><p><strong>chart</strong> -- pointer to chart object </p></li>
<li><p><strong>ser</strong> -- pointer to a data series on 'chart' </p></li>
<li><p><strong>y</strong> -- the new value of the most right data </p></li>
</ul>
</dd>
</dl>
</dd></dl>

<dl class="cpp function">
<dt id="_CPPv424lv_chart_set_update_modeP8lv_obj_t22lv_chart_update_mode_t">
<span id="_CPPv324lv_chart_set_update_modeP8lv_obj_t22lv_chart_update_mode_t"></span><span id="_CPPv224lv_chart_set_update_modeP8lv_obj_t22lv_chart_update_mode_t"></span><span id="lv_chart_set_update_mode__lv_obj_tP.lv_chart_update_mode_t"></span><span class="target" id="lv__chart_8h_1a24582adb1ae15fe098234649dcaa7253"></span><span class="pre">void</span> <code class="sig-name descname"><span class="pre">lv_chart_set_update_mode</span></code><span class="sig-paren">(</span><a class="reference internal" href="obj.html#_CPPv48lv_obj_t" title="lv_obj_t"><span class="pre">lv_obj_t</span></a> <span class="pre">*</span><em><span class="pre">chart</span></em>, <a class="reference internal" href="#_CPPv422lv_chart_update_mode_t" title="lv_chart_update_mode_t"><span class="pre">lv_chart_update_mode_t</span></a> <em><span class="pre">update_mode</span></em><span class="sig-paren">)</span><a class="headerlink" href="#_CPPv424lv_chart_set_update_modeP8lv_obj_t22lv_chart_update_mode_t" title="Permalink to this definition">¶</a><br /></dt>
<dd><p>Set update mode of the chart object. </p>
<dl class="field-list simple">
<dt class="field-odd">Parameters</dt>
<dd class="field-odd"><ul class="simple">
<li><p><strong>chart</strong> -- pointer to a chart object </p></li>
<li><p><strong>update</strong> -- mode </p></li>
</ul>
</dd>
</dl>
</dd></dl>

<dl class="cpp function">
<dt id="_CPPv426lv_chart_set_x_tick_lengthP8lv_obj_t7uint8_t7uint8_t">
<span id="_CPPv326lv_chart_set_x_tick_lengthP8lv_obj_t7uint8_t7uint8_t"></span><span id="_CPPv226lv_chart_set_x_tick_lengthP8lv_obj_t7uint8_t7uint8_t"></span><span id="lv_chart_set_x_tick_length__lv_obj_tP.uint8_t.uint8_t"></span><span class="target" id="lv__chart_8h_1a8d886064d515a5f8f263f0279112ecd0"></span><span class="pre">void</span> <code class="sig-name descname"><span class="pre">lv_chart_set_x_tick_length</span></code><span class="sig-paren">(</span><a class="reference internal" href="obj.html#_CPPv48lv_obj_t" title="lv_obj_t"><span class="pre">lv_obj_t</span></a> <span class="pre">*</span><em><span class="pre">chart</span></em>, <span class="pre">uint8_t</span> <em><span class="pre">major_tick_len</span></em>, <span class="pre">uint8_t</span> <em><span class="pre">minor_tick_len</span></em><span class="sig-paren">)</span><a class="headerlink" href="#_CPPv426lv_chart_set_x_tick_lengthP8lv_obj_t7uint8_t7uint8_t" title="Permalink to this definition">¶</a><br /></dt>
<dd><p>Set the length of the tick marks on the x axis </p>
<dl class="field-list simple">
<dt class="field-odd">Parameters</dt>
<dd class="field-odd"><ul class="simple">
<li><p><strong>chart</strong> -- pointer to the chart </p></li>
<li><p><strong>major_tick_len</strong> -- the length of the major tick or <code class="docutils literal notranslate"><span class="pre">LV_CHART_TICK_LENGTH_AUTO</span></code> to set automatically (where labels are added) </p></li>
<li><p><strong>minor_tick_len</strong> -- the length of the minor tick, <code class="docutils literal notranslate"><span class="pre">LV_CHART_TICK_LENGTH_AUTO</span></code> to set automatically (where no labels are added) </p></li>
</ul>
</dd>
</dl>
</dd></dl>

<dl class="cpp function">
<dt id="_CPPv426lv_chart_set_y_tick_lengthP8lv_obj_t7uint8_t7uint8_t">
<span id="_CPPv326lv_chart_set_y_tick_lengthP8lv_obj_t7uint8_t7uint8_t"></span><span id="_CPPv226lv_chart_set_y_tick_lengthP8lv_obj_t7uint8_t7uint8_t"></span><span id="lv_chart_set_y_tick_length__lv_obj_tP.uint8_t.uint8_t"></span><span class="target" id="lv__chart_8h_1a7baaac54e3dacc561bfe5d849a45ab65"></span><span class="pre">void</span> <code class="sig-name descname"><span class="pre">lv_chart_set_y_tick_length</span></code><span class="sig-paren">(</span><a class="reference internal" href="obj.html#_CPPv48lv_obj_t" title="lv_obj_t"><span class="pre">lv_obj_t</span></a> <span class="pre">*</span><em><span class="pre">chart</span></em>, <span class="pre">uint8_t</span> <em><span class="pre">major_tick_len</span></em>, <span class="pre">uint8_t</span> <em><span class="pre">minor_tick_len</span></em><span class="sig-paren">)</span><a class="headerlink" href="#_CPPv426lv_chart_set_y_tick_lengthP8lv_obj_t7uint8_t7uint8_t" title="Permalink to this definition">¶</a><br /></dt>
<dd><p>Set the length of the tick marks on the y axis </p>
<dl class="field-list simple">
<dt class="field-odd">Parameters</dt>
<dd class="field-odd"><ul class="simple">
<li><p><strong>chart</strong> -- pointer to the chart </p></li>
<li><p><strong>major_tick_len</strong> -- the length of the major tick or <code class="docutils literal notranslate"><span class="pre">LV_CHART_TICK_LENGTH_AUTO</span></code> to set automatically (where labels are added) </p></li>
<li><p><strong>minor_tick_len</strong> -- the length of the minor tick, <code class="docutils literal notranslate"><span class="pre">LV_CHART_TICK_LENGTH_AUTO</span></code> to set automatically (where no labels are added) </p></li>
</ul>
</dd>
</dl>
</dd></dl>

<dl class="cpp function">
<dt id="_CPPv436lv_chart_set_secondary_y_tick_lengthP8lv_obj_t7uint8_t7uint8_t">
<span id="_CPPv336lv_chart_set_secondary_y_tick_lengthP8lv_obj_t7uint8_t7uint8_t"></span><span id="_CPPv236lv_chart_set_secondary_y_tick_lengthP8lv_obj_t7uint8_t7uint8_t"></span><span id="lv_chart_set_secondary_y_tick_length__lv_obj_tP.uint8_t.uint8_t"></span><span class="target" id="lv__chart_8h_1a4da230e2b8a6f4b4ddd59f80be877931"></span><span class="pre">void</span> <code class="sig-name descname"><span class="pre">lv_chart_set_secondary_y_tick_length</span></code><span class="sig-paren">(</span><a class="reference internal" href="obj.html#_CPPv48lv_obj_t" title="lv_obj_t"><span class="pre">lv_obj_t</span></a> <span class="pre">*</span><em><span class="pre">chart</span></em>, <span class="pre">uint8_t</span> <em><span class="pre">major_tick_len</span></em>, <span class="pre">uint8_t</span> <em><span class="pre">minor_tick_len</span></em><span class="sig-paren">)</span><a class="headerlink" href="#_CPPv436lv_chart_set_secondary_y_tick_lengthP8lv_obj_t7uint8_t7uint8_t" title="Permalink to this definition">¶</a><br /></dt>
<dd><p>Set the length of the tick marks on the secondary y axis </p>
<dl class="field-list simple">
<dt class="field-odd">Parameters</dt>
<dd class="field-odd"><ul class="simple">
<li><p><strong>chart</strong> -- pointer to the chart </p></li>
<li><p><strong>major_tick_len</strong> -- the length of the major tick or <code class="docutils literal notranslate"><span class="pre">LV_CHART_TICK_LENGTH_AUTO</span></code> to set automatically (where labels are added) </p></li>
<li><p><strong>minor_tick_len</strong> -- the length of the minor tick, <code class="docutils literal notranslate"><span class="pre">LV_CHART_TICK_LENGTH_AUTO</span></code> to set automatically (where no labels are added) </p></li>
</ul>
</dd>
</dl>
</dd></dl>

<dl class="cpp function">
<dt id="_CPPv425lv_chart_set_x_tick_textsP8lv_obj_tPKc7uint8_t23lv_chart_axis_options_t">
<span id="_CPPv325lv_chart_set_x_tick_textsP8lv_obj_tPKc7uint8_t23lv_chart_axis_options_t"></span><span id="_CPPv225lv_chart_set_x_tick_textsP8lv_obj_tPKc7uint8_t23lv_chart_axis_options_t"></span><span id="lv_chart_set_x_tick_texts__lv_obj_tP.cCP.uint8_t.lv_chart_axis_options_t"></span><span class="target" id="lv__chart_8h_1ac561cb4748d6189a27a0e852a413893c"></span><span class="pre">void</span> <code class="sig-name descname"><span class="pre">lv_chart_set_x_tick_texts</span></code><span class="sig-paren">(</span><a class="reference internal" href="obj.html#_CPPv48lv_obj_t" title="lv_obj_t"><span class="pre">lv_obj_t</span></a> <span class="pre">*</span><em><span class="pre">chart</span></em>, <em class="property"><span class="pre">const</span></em> <span class="pre">char</span> <span class="pre">*</span><em><span class="pre">list_of_values</span></em>, <span class="pre">uint8_t</span> <em><span class="pre">num_tick_marks</span></em>, <a class="reference internal" href="#_CPPv423lv_chart_axis_options_t" title="lv_chart_axis_options_t"><span class="pre">lv_chart_axis_options_t</span></a> <em><span class="pre">options</span></em><span class="sig-paren">)</span><a class="headerlink" href="#_CPPv425lv_chart_set_x_tick_textsP8lv_obj_tPKc7uint8_t23lv_chart_axis_options_t" title="Permalink to this definition">¶</a><br /></dt>
<dd><p>Set the x-axis tick count and labels of a chart </p>
<dl class="field-list simple">
<dt class="field-odd">Parameters</dt>
<dd class="field-odd"><ul class="simple">
<li><p><strong>chart</strong> -- pointer to a chart object </p></li>
<li><p><strong>list_of_values</strong> -- <p>list of string values, terminated with</p>
<p>, except the last</p>
</p></li>
<li><p><strong>num_tick_marks</strong> -- if list_of_values is NULL: total number of ticks per axis else number of ticks between two value labels </p></li>
<li><p><strong>options</strong> -- extra options </p></li>
</ul>
</dd>
</dl>
</dd></dl>

<dl class="cpp function">
<dt id="_CPPv435lv_chart_set_secondary_y_tick_textsP8lv_obj_tPKc7uint8_t23lv_chart_axis_options_t">
<span id="_CPPv335lv_chart_set_secondary_y_tick_textsP8lv_obj_tPKc7uint8_t23lv_chart_axis_options_t"></span><span id="_CPPv235lv_chart_set_secondary_y_tick_textsP8lv_obj_tPKc7uint8_t23lv_chart_axis_options_t"></span><span id="lv_chart_set_secondary_y_tick_texts__lv_obj_tP.cCP.uint8_t.lv_chart_axis_options_t"></span><span class="target" id="lv__chart_8h_1a381101d6a74c17cf5a22e5f303bcf6a9"></span><span class="pre">void</span> <code class="sig-name descname"><span class="pre">lv_chart_set_secondary_y_tick_texts</span></code><span class="sig-paren">(</span><a class="reference internal" href="obj.html#_CPPv48lv_obj_t" title="lv_obj_t"><span class="pre">lv_obj_t</span></a> <span class="pre">*</span><em><span class="pre">chart</span></em>, <em class="property"><span class="pre">const</span></em> <span class="pre">char</span> <span class="pre">*</span><em><span class="pre">list_of_values</span></em>, <span class="pre">uint8_t</span> <em><span class="pre">num_tick_marks</span></em>, <a class="reference internal" href="#_CPPv423lv_chart_axis_options_t" title="lv_chart_axis_options_t"><span class="pre">lv_chart_axis_options_t</span></a> <em><span class="pre">options</span></em><span class="sig-paren">)</span><a class="headerlink" href="#_CPPv435lv_chart_set_secondary_y_tick_textsP8lv_obj_tPKc7uint8_t23lv_chart_axis_options_t" title="Permalink to this definition">¶</a><br /></dt>
<dd><p>Set the secondary y-axis tick count and labels of a chart </p>
<dl class="field-list simple">
<dt class="field-odd">Parameters</dt>
<dd class="field-odd"><ul class="simple">
<li><p><strong>chart</strong> -- pointer to a chart object </p></li>
<li><p><strong>list_of_values</strong> -- <p>list of string values, terminated with</p>
<p>, except the last</p>
</p></li>
<li><p><strong>num_tick_marks</strong> -- if list_of_values is NULL: total number of ticks per axis else number of ticks between two value labels </p></li>
<li><p><strong>options</strong> -- extra options </p></li>
</ul>
</dd>
</dl>
</dd></dl>

<dl class="cpp function">
<dt id="_CPPv425lv_chart_set_y_tick_textsP8lv_obj_tPKc7uint8_t23lv_chart_axis_options_t">
<span id="_CPPv325lv_chart_set_y_tick_textsP8lv_obj_tPKc7uint8_t23lv_chart_axis_options_t"></span><span id="_CPPv225lv_chart_set_y_tick_textsP8lv_obj_tPKc7uint8_t23lv_chart_axis_options_t"></span><span id="lv_chart_set_y_tick_texts__lv_obj_tP.cCP.uint8_t.lv_chart_axis_options_t"></span><span class="target" id="lv__chart_8h_1abfeab51b774e1335bb0c3b3a7ff1e796"></span><span class="pre">void</span> <code class="sig-name descname"><span class="pre">lv_chart_set_y_tick_texts</span></code><span class="sig-paren">(</span><a class="reference internal" href="obj.html#_CPPv48lv_obj_t" title="lv_obj_t"><span class="pre">lv_obj_t</span></a> <span class="pre">*</span><em><span class="pre">chart</span></em>, <em class="property"><span class="pre">const</span></em> <span class="pre">char</span> <span class="pre">*</span><em><span class="pre">list_of_values</span></em>, <span class="pre">uint8_t</span> <em><span class="pre">num_tick_marks</span></em>, <a class="reference internal" href="#_CPPv423lv_chart_axis_options_t" title="lv_chart_axis_options_t"><span class="pre">lv_chart_axis_options_t</span></a> <em><span class="pre">options</span></em><span class="sig-paren">)</span><a class="headerlink" href="#_CPPv425lv_chart_set_y_tick_textsP8lv_obj_tPKc7uint8_t23lv_chart_axis_options_t" title="Permalink to this definition">¶</a><br /></dt>
<dd><p>Set the y-axis tick count and labels of a chart </p>
<dl class="field-list simple">
<dt class="field-odd">Parameters</dt>
<dd class="field-odd"><ul class="simple">
<li><p><strong>chart</strong> -- pointer to a chart object </p></li>
<li><p><strong>list_of_values</strong> -- <p>list of string values, terminated with</p>
<p>, except the last</p>
</p></li>
<li><p><strong>num_tick_marks</strong> -- if list_of_values is NULL: total number of ticks per axis else number of ticks between two value labels </p></li>
<li><p><strong>options</strong> -- extra options </p></li>
</ul>
</dd>
</dl>
</dd></dl>

<dl class="cpp function">
<dt id="_CPPv426lv_chart_set_x_start_pointP8lv_obj_tP17lv_chart_series_t8uint16_t">
<span id="_CPPv326lv_chart_set_x_start_pointP8lv_obj_tP17lv_chart_series_t8uint16_t"></span><span id="_CPPv226lv_chart_set_x_start_pointP8lv_obj_tP17lv_chart_series_t8uint16_t"></span><span id="lv_chart_set_x_start_point__lv_obj_tP.lv_chart_series_tP.uint16_t"></span><span class="target" id="lv__chart_8h_1af72044161a4eac3b49b62408891be6b5"></span><span class="pre">void</span> <code class="sig-name descname"><span class="pre">lv_chart_set_x_start_point</span></code><span class="sig-paren">(</span><a class="reference internal" href="obj.html#_CPPv48lv_obj_t" title="lv_obj_t"><span class="pre">lv_obj_t</span></a> <span class="pre">*</span><em><span class="pre">chart</span></em>, <a class="reference internal" href="#_CPPv417lv_chart_series_t" title="lv_chart_series_t"><span class="pre">lv_chart_series_t</span></a> <span class="pre">*</span><em><span class="pre">ser</span></em>, <span class="pre">uint16_t</span> <em><span class="pre">id</span></em><span class="sig-paren">)</span><a class="headerlink" href="#_CPPv426lv_chart_set_x_start_pointP8lv_obj_tP17lv_chart_series_t8uint16_t" title="Permalink to this definition">¶</a><br /></dt>
<dd><p>Set the index of the x-axis start point in the data array </p>
<dl class="field-list simple">
<dt class="field-odd">Parameters</dt>
<dd class="field-odd"><ul class="simple">
<li><p><strong>chart</strong> -- pointer to a chart object </p></li>
<li><p><strong>ser</strong> -- pointer to a data series on 'chart' </p></li>
<li><p><strong>id</strong> -- the index of the x point in the data array </p></li>
</ul>
</dd>
</dl>
</dd></dl>

<dl class="cpp function">
<dt id="_CPPv422lv_chart_set_ext_arrayP8lv_obj_tP17lv_chart_series_tA_10lv_coord_t8uint16_t">
<span id="_CPPv322lv_chart_set_ext_arrayP8lv_obj_tP17lv_chart_series_tA_10lv_coord_t8uint16_t"></span><span id="_CPPv222lv_chart_set_ext_arrayP8lv_obj_tP17lv_chart_series_tA_10lv_coord_t8uint16_t"></span><span id="lv_chart_set_ext_array__lv_obj_tP.lv_chart_series_tP.lv_coord_tA.uint16_t"></span><span class="target" id="lv__chart_8h_1a2ec6d2e5a117a0ae5691a9257871e3e0"></span><span class="pre">void</span> <code class="sig-name descname"><span class="pre">lv_chart_set_ext_array</span></code><span class="sig-paren">(</span><a class="reference internal" href="obj.html#_CPPv48lv_obj_t" title="lv_obj_t"><span class="pre">lv_obj_t</span></a> <span class="pre">*</span><em><span class="pre">chart</span></em>, <a class="reference internal" href="#_CPPv417lv_chart_series_t" title="lv_chart_series_t"><span class="pre">lv_chart_series_t</span></a> <span class="pre">*</span><em><span class="pre">ser</span></em>, <span class="pre">lv_coord_t</span> <em><span class="pre">array</span></em><span class="pre">[</span><span class="pre">]</span>, <span class="pre">uint16_t</span> <em><span class="pre">point_cnt</span></em><span class="sig-paren">)</span><a class="headerlink" href="#_CPPv422lv_chart_set_ext_arrayP8lv_obj_tP17lv_chart_series_tA_10lv_coord_t8uint16_t" title="Permalink to this definition">¶</a><br /></dt>
<dd><p>Set an external array of data points to use for the chart NOTE: It is the users responsibility to make sure the point_cnt matches the external array size. </p>
<dl class="field-list simple">
<dt class="field-odd">Parameters</dt>
<dd class="field-odd"><ul class="simple">
<li><p><strong>chart</strong> -- pointer to a chart object </p></li>
<li><p><strong>ser</strong> -- pointer to a data series on 'chart' </p></li>
<li><p><strong>array</strong> -- external array of points for chart </p></li>
</ul>
</dd>
</dl>
</dd></dl>

<dl class="cpp function">
<dt id="_CPPv421lv_chart_set_point_idP8lv_obj_tP17lv_chart_series_t10lv_coord_t8uint16_t">
<span id="_CPPv321lv_chart_set_point_idP8lv_obj_tP17lv_chart_series_t10lv_coord_t8uint16_t"></span><span id="_CPPv221lv_chart_set_point_idP8lv_obj_tP17lv_chart_series_t10lv_coord_t8uint16_t"></span><span id="lv_chart_set_point_id__lv_obj_tP.lv_chart_series_tP.lv_coord_t.uint16_t"></span><span class="target" id="lv__chart_8h_1a0bed386984c8699cd041142d416bfb44"></span><span class="pre">void</span> <code class="sig-name descname"><span class="pre">lv_chart_set_point_id</span></code><span class="sig-paren">(</span><a class="reference internal" href="obj.html#_CPPv48lv_obj_t" title="lv_obj_t"><span class="pre">lv_obj_t</span></a> <span class="pre">*</span><em><span class="pre">chart</span></em>, <a class="reference internal" href="#_CPPv417lv_chart_series_t" title="lv_chart_series_t"><span class="pre">lv_chart_series_t</span></a> <span class="pre">*</span><em><span class="pre">ser</span></em>, <span class="pre">lv_coord_t</span> <em><span class="pre">value</span></em>, <span class="pre">uint16_t</span> <em><span class="pre">id</span></em><span class="sig-paren">)</span><a class="headerlink" href="#_CPPv421lv_chart_set_point_idP8lv_obj_tP17lv_chart_series_t10lv_coord_t8uint16_t" title="Permalink to this definition">¶</a><br /></dt>
<dd><p>Set an individual point value in the chart series directly based on index </p>
<dl class="field-list simple">
<dt class="field-odd">Parameters</dt>
<dd class="field-odd"><ul class="simple">
<li><p><strong>chart</strong> -- pointer to a chart object </p></li>
<li><p><strong>ser</strong> -- pointer to a data series on 'chart' </p></li>
<li><p><strong>value</strong> -- value to assign to array point </p></li>
<li><p><strong>id</strong> -- the index of the x point in the array </p></li>
</ul>
</dd>
</dl>
</dd></dl>

<dl class="cpp function">
<dt id="_CPPv424lv_chart_set_series_axisP8lv_obj_tP17lv_chart_series_t15lv_chart_axis_t">
<span id="_CPPv324lv_chart_set_series_axisP8lv_obj_tP17lv_chart_series_t15lv_chart_axis_t"></span><span id="_CPPv224lv_chart_set_series_axisP8lv_obj_tP17lv_chart_series_t15lv_chart_axis_t"></span><span id="lv_chart_set_series_axis__lv_obj_tP.lv_chart_series_tP.lv_chart_axis_t"></span><span class="target" id="lv__chart_8h_1aa72562ae1c1f1c4badf160984dcf618c"></span><span class="pre">void</span> <code class="sig-name descname"><span class="pre">lv_chart_set_series_axis</span></code><span class="sig-paren">(</span><a class="reference internal" href="obj.html#_CPPv48lv_obj_t" title="lv_obj_t"><span class="pre">lv_obj_t</span></a> <span class="pre">*</span><em><span class="pre">chart</span></em>, <a class="reference internal" href="#_CPPv417lv_chart_series_t" title="lv_chart_series_t"><span class="pre">lv_chart_series_t</span></a> <span class="pre">*</span><em><span class="pre">ser</span></em>, <a class="reference internal" href="#_CPPv415lv_chart_axis_t" title="lv_chart_axis_t"><span class="pre">lv_chart_axis_t</span></a> <em><span class="pre">axis</span></em><span class="sig-paren">)</span><a class="headerlink" href="#_CPPv424lv_chart_set_series_axisP8lv_obj_tP17lv_chart_series_t15lv_chart_axis_t" title="Permalink to this definition">¶</a><br /></dt>
<dd><p>Set the Y axis of a series </p>
<dl class="field-list simple">
<dt class="field-odd">Parameters</dt>
<dd class="field-odd"><ul class="simple">
<li><p><strong>chart</strong> -- pointer to a chart object </p></li>
<li><p><strong>ser</strong> -- pointer to series </p></li>
<li><p><strong>axis</strong> -- <code class="docutils literal notranslate"><span class="pre">LV_CHART_AXIS_PRIMARY_Y</span></code> or <code class="docutils literal notranslate"><span class="pre">LV_CHART_AXIS_SECONDARY_Y</span></code> </p></li>
</ul>
</dd>
</dl>
</dd></dl>

<dl class="cpp function">
<dt id="_CPPv425lv_chart_set_cursor_pointP8lv_obj_tP17lv_chart_cursor_tP10lv_point_t">
<span id="_CPPv325lv_chart_set_cursor_pointP8lv_obj_tP17lv_chart_cursor_tP10lv_point_t"></span><span id="_CPPv225lv_chart_set_cursor_pointP8lv_obj_tP17lv_chart_cursor_tP10lv_point_t"></span><span id="lv_chart_set_cursor_point__lv_obj_tP.lv_chart_cursor_tP.lv_point_tP"></span><span class="target" id="lv__chart_8h_1a2c9fdce08730a4af0080e399f97ae929"></span><span class="pre">void</span> <code class="sig-name descname"><span class="pre">lv_chart_set_cursor_point</span></code><span class="sig-paren">(</span><a class="reference internal" href="obj.html#_CPPv48lv_obj_t" title="lv_obj_t"><span class="pre">lv_obj_t</span></a> <span class="pre">*</span><em><span class="pre">chart</span></em>, <a class="reference internal" href="#_CPPv417lv_chart_cursor_t" title="lv_chart_cursor_t"><span class="pre">lv_chart_cursor_t</span></a> <span class="pre">*</span><em><span class="pre">cursor</span></em>, <span class="pre">lv_point_t</span> <span class="pre">*</span><em><span class="pre">point</span></em><span class="sig-paren">)</span><a class="headerlink" href="#_CPPv425lv_chart_set_cursor_pointP8lv_obj_tP17lv_chart_cursor_tP10lv_point_t" title="Permalink to this definition">¶</a><br /></dt>
<dd><p>Set the coordinate of the cursor with respect to the origin of series area of the chart. </p>
<dl class="field-list simple">
<dt class="field-odd">Parameters</dt>
<dd class="field-odd"><ul class="simple">
<li><p><strong>chart</strong> -- pointer to a chart object. </p></li>
<li><p><strong>cursor</strong> -- pointer to the cursor. </p></li>
<li><p><strong>point</strong> -- the new coordinate of cursor relative to the series area </p></li>
</ul>
</dd>
</dl>
</dd></dl>

<dl class="cpp function">
<dt id="_CPPv417lv_chart_get_typePK8lv_obj_t">
<span id="_CPPv317lv_chart_get_typePK8lv_obj_t"></span><span id="_CPPv217lv_chart_get_typePK8lv_obj_t"></span><span id="lv_chart_get_type__lv_obj_tCP"></span><span class="target" id="lv__chart_8h_1a1fe1423df4816e09ea874d66fb43cbdf"></span><a class="reference internal" href="#_CPPv415lv_chart_type_t" title="lv_chart_type_t"><span class="pre">lv_chart_type_t</span></a> <code class="sig-name descname"><span class="pre">lv_chart_get_type</span></code><span class="sig-paren">(</span><em class="property"><span class="pre">const</span></em> <a class="reference internal" href="obj.html#_CPPv48lv_obj_t" title="lv_obj_t"><span class="pre">lv_obj_t</span></a> <span class="pre">*</span><em><span class="pre">chart</span></em><span class="sig-paren">)</span><a class="headerlink" href="#_CPPv417lv_chart_get_typePK8lv_obj_t" title="Permalink to this definition">¶</a><br /></dt>
<dd><p>Get the type of a chart </p>
<dl class="field-list simple">
<dt class="field-odd">Parameters</dt>
<dd class="field-odd"><p><strong>chart</strong> -- pointer to chart object </p>
</dd>
<dt class="field-even">Returns</dt>
<dd class="field-even"><p>type of the chart (from 'lv_chart_t' enum) </p>
</dd>
</dl>
</dd></dl>

<dl class="cpp function">
<dt id="_CPPv424lv_chart_get_point_countPK8lv_obj_t">
<span id="_CPPv324lv_chart_get_point_countPK8lv_obj_t"></span><span id="_CPPv224lv_chart_get_point_countPK8lv_obj_t"></span><span id="lv_chart_get_point_count__lv_obj_tCP"></span><span class="target" id="lv__chart_8h_1a848edc32f3b1cd35877a5b0b48dddfc3"></span><span class="pre">uint16_t</span> <code class="sig-name descname"><span class="pre">lv_chart_get_point_count</span></code><span class="sig-paren">(</span><em class="property"><span class="pre">const</span></em> <a class="reference internal" href="obj.html#_CPPv48lv_obj_t" title="lv_obj_t"><span class="pre">lv_obj_t</span></a> <span class="pre">*</span><em><span class="pre">chart</span></em><span class="sig-paren">)</span><a class="headerlink" href="#_CPPv424lv_chart_get_point_countPK8lv_obj_t" title="Permalink to this definition">¶</a><br /></dt>
<dd><p>Get the data point number per data line on chart </p>
<dl class="field-list simple">
<dt class="field-odd">Parameters</dt>
<dd class="field-odd"><p><strong>chart</strong> -- pointer to chart object </p>
</dd>
<dt class="field-even">Returns</dt>
<dd class="field-even"><p>point number on each data line </p>
</dd>
</dl>
</dd></dl>

<dl class="cpp function">
<dt id="_CPPv426lv_chart_get_x_start_pointP17lv_chart_series_t">
<span id="_CPPv326lv_chart_get_x_start_pointP17lv_chart_series_t"></span><span id="_CPPv226lv_chart_get_x_start_pointP17lv_chart_series_t"></span><span id="lv_chart_get_x_start_point__lv_chart_series_tP"></span><span class="target" id="lv__chart_8h_1aca58372f52145fb7b8071da782abc8eb"></span><span class="pre">uint16_t</span> <code class="sig-name descname"><span class="pre">lv_chart_get_x_start_point</span></code><span class="sig-paren">(</span><a class="reference internal" href="#_CPPv417lv_chart_series_t" title="lv_chart_series_t"><span class="pre">lv_chart_series_t</span></a> <span class="pre">*</span><em><span class="pre">ser</span></em><span class="sig-paren">)</span><a class="headerlink" href="#_CPPv426lv_chart_get_x_start_pointP17lv_chart_series_t" title="Permalink to this definition">¶</a><br /></dt>
<dd><p>get the current index of the x-axis start point in the data array </p>
<dl class="field-list simple">
<dt class="field-odd">Parameters</dt>
<dd class="field-odd"><p><strong>ser</strong> -- pointer to a data series on 'chart' </p>
</dd>
<dt class="field-even">Returns</dt>
<dd class="field-even"><p>the index of the current x start point in the data array </p>
</dd>
</dl>
</dd></dl>

<dl class="cpp function">
<dt id="_CPPv421lv_chart_get_point_idP8lv_obj_tP17lv_chart_series_t8uint16_t">
<span id="_CPPv321lv_chart_get_point_idP8lv_obj_tP17lv_chart_series_t8uint16_t"></span><span id="_CPPv221lv_chart_get_point_idP8lv_obj_tP17lv_chart_series_t8uint16_t"></span><span id="lv_chart_get_point_id__lv_obj_tP.lv_chart_series_tP.uint16_t"></span><span class="target" id="lv__chart_8h_1af5ed3925bcc062a8575c071754ec5a4b"></span><span class="pre">lv_coord_t</span> <code class="sig-name descname"><span class="pre">lv_chart_get_point_id</span></code><span class="sig-paren">(</span><a class="reference internal" href="obj.html#_CPPv48lv_obj_t" title="lv_obj_t"><span class="pre">lv_obj_t</span></a> <span class="pre">*</span><em><span class="pre">chart</span></em>, <a class="reference internal" href="#_CPPv417lv_chart_series_t" title="lv_chart_series_t"><span class="pre">lv_chart_series_t</span></a> <span class="pre">*</span><em><span class="pre">ser</span></em>, <span class="pre">uint16_t</span> <em><span class="pre">id</span></em><span class="sig-paren">)</span><a class="headerlink" href="#_CPPv421lv_chart_get_point_idP8lv_obj_tP17lv_chart_series_t8uint16_t" title="Permalink to this definition">¶</a><br /></dt>
<dd><p>Get an individual point value in the chart series directly based on index </p>
<dl class="field-list simple">
<dt class="field-odd">Parameters</dt>
<dd class="field-odd"><ul class="simple">
<li><p><strong>chart</strong> -- pointer to a chart object </p></li>
<li><p><strong>ser</strong> -- pointer to a data series on 'chart' </p></li>
<li><p><strong>id</strong> -- the index of the x point in the array </p></li>
</ul>
</dd>
<dt class="field-even">Returns</dt>
<dd class="field-even"><p>value of array point at index id </p>
</dd>
</dl>
</dd></dl>

<dl class="cpp function">
<dt id="_CPPv424lv_chart_get_series_axisP8lv_obj_tP17lv_chart_series_t">
<span id="_CPPv324lv_chart_get_series_axisP8lv_obj_tP17lv_chart_series_t"></span><span id="_CPPv224lv_chart_get_series_axisP8lv_obj_tP17lv_chart_series_t"></span><span id="lv_chart_get_series_axis__lv_obj_tP.lv_chart_series_tP"></span><span class="target" id="lv__chart_8h_1a3096013d7afacb1be05fab97d933704a"></span><a class="reference internal" href="#_CPPv415lv_chart_axis_t" title="lv_chart_axis_t"><span class="pre">lv_chart_axis_t</span></a> <code class="sig-name descname"><span class="pre">lv_chart_get_series_axis</span></code><span class="sig-paren">(</span><a class="reference internal" href="obj.html#_CPPv48lv_obj_t" title="lv_obj_t"><span class="pre">lv_obj_t</span></a> <span class="pre">*</span><em><span class="pre">chart</span></em>, <a class="reference internal" href="#_CPPv417lv_chart_series_t" title="lv_chart_series_t"><span class="pre">lv_chart_series_t</span></a> <span class="pre">*</span><em><span class="pre">ser</span></em><span class="sig-paren">)</span><a class="headerlink" href="#_CPPv424lv_chart_get_series_axisP8lv_obj_tP17lv_chart_series_t" title="Permalink to this definition">¶</a><br /></dt>
<dd><p>Get the Y axis of a series </p>
<dl class="field-list simple">
<dt class="field-odd">Parameters</dt>
<dd class="field-odd"><ul class="simple">
<li><p><strong>chart</strong> -- pointer to a chart object </p></li>
<li><p><strong>ser</strong> -- pointer to series </p></li>
</ul>
</dd>
<dt class="field-even">Returns</dt>
<dd class="field-even"><p><code class="docutils literal notranslate"><span class="pre">LV_CHART_AXIS_PRIMARY_Y</span></code> or <code class="docutils literal notranslate"><span class="pre">LV_CHART_AXIS_SECONDARY_Y</span></code> </p>
</dd>
</dl>
</dd></dl>

<dl class="cpp function">
<dt id="_CPPv424lv_chart_get_series_areaP8lv_obj_tP9lv_area_t">
<span id="_CPPv324lv_chart_get_series_areaP8lv_obj_tP9lv_area_t"></span><span id="_CPPv224lv_chart_get_series_areaP8lv_obj_tP9lv_area_t"></span><span id="lv_chart_get_series_area__lv_obj_tP.lv_area_tP"></span><span class="target" id="lv__chart_8h_1a8359cfcc1d3eb5d843c17cdc5097213b"></span><span class="pre">void</span> <code class="sig-name descname"><span class="pre">lv_chart_get_series_area</span></code><span class="sig-paren">(</span><a class="reference internal" href="obj.html#_CPPv48lv_obj_t" title="lv_obj_t"><span class="pre">lv_obj_t</span></a> <span class="pre">*</span><em><span class="pre">chart</span></em>, <span class="pre">lv_area_t</span> <span class="pre">*</span><em><span class="pre">series_area</span></em><span class="sig-paren">)</span><a class="headerlink" href="#_CPPv424lv_chart_get_series_areaP8lv_obj_tP9lv_area_t" title="Permalink to this definition">¶</a><br /></dt>
<dd><p>Get an individual point y value in the chart series directly based on index </p>
<dl class="field-list simple">
<dt class="field-odd">Parameters</dt>
<dd class="field-odd"><ul class="simple">
<li><p><strong>chart</strong> -- pointer to a chart object </p></li>
<li><p><strong>series_area</strong> -- pointer to an area variable that the result will put in. </p></li>
</ul>
</dd>
</dl>
</dd></dl>

<dl class="cpp function">
<dt id="_CPPv425lv_chart_get_cursor_pointP8lv_obj_tP17lv_chart_cursor_t">
<span id="_CPPv325lv_chart_get_cursor_pointP8lv_obj_tP17lv_chart_cursor_t"></span><span id="_CPPv225lv_chart_get_cursor_pointP8lv_obj_tP17lv_chart_cursor_t"></span><span id="lv_chart_get_cursor_point__lv_obj_tP.lv_chart_cursor_tP"></span><span class="target" id="lv__chart_8h_1a605ecf3aa1f3d9a03228d74818945794"></span><span class="pre">lv_point_t</span> <code class="sig-name descname"><span class="pre">lv_chart_get_cursor_point</span></code><span class="sig-paren">(</span><a class="reference internal" href="obj.html#_CPPv48lv_obj_t" title="lv_obj_t"><span class="pre">lv_obj_t</span></a> <span class="pre">*</span><em><span class="pre">chart</span></em>, <a class="reference internal" href="#_CPPv417lv_chart_cursor_t" title="lv_chart_cursor_t"><span class="pre">lv_chart_cursor_t</span></a> <span class="pre">*</span><em><span class="pre">cursor</span></em><span class="sig-paren">)</span><a class="headerlink" href="#_CPPv425lv_chart_get_cursor_pointP8lv_obj_tP17lv_chart_cursor_t" title="Permalink to this definition">¶</a><br /></dt>
<dd><p>Get the coordinate of the cursor with respect to the origin of series area of the chart. </p>
<dl class="field-list simple">
<dt class="field-odd">Parameters</dt>
<dd class="field-odd"><ul class="simple">
<li><p><strong>chart</strong> -- pointer to a chart object </p></li>
<li><p><strong>cursor</strong> -- pointer to cursor </p></li>
</ul>
</dd>
<dt class="field-even">Returns</dt>
<dd class="field-even"><p>coordinate of the cursor as lv_point_t </p>
</dd>
</dl>
</dd></dl>

<dl class="cpp function">
<dt id="_CPPv437lv_chart_get_nearest_index_from_coordP8lv_obj_t10lv_coord_t">
<span id="_CPPv337lv_chart_get_nearest_index_from_coordP8lv_obj_t10lv_coord_t"></span><span id="_CPPv237lv_chart_get_nearest_index_from_coordP8lv_obj_t10lv_coord_t"></span><span id="lv_chart_get_nearest_index_from_coord__lv_obj_tP.lv_coord_t"></span><span class="target" id="lv__chart_8h_1acac79f059421a5232ee1a0da979d3144"></span><span class="pre">uint16_t</span> <code class="sig-name descname"><span class="pre">lv_chart_get_nearest_index_from_coord</span></code><span class="sig-paren">(</span><a class="reference internal" href="obj.html#_CPPv48lv_obj_t" title="lv_obj_t"><span class="pre">lv_obj_t</span></a> <span class="pre">*</span><em><span class="pre">chart</span></em>, <span class="pre">lv_coord_t</span> <em><span class="pre">x</span></em><span class="sig-paren">)</span><a class="headerlink" href="#_CPPv437lv_chart_get_nearest_index_from_coordP8lv_obj_t10lv_coord_t" title="Permalink to this definition">¶</a><br /></dt>
<dd><p>Get the nearest index to an X coordinate </p>
<dl class="field-list simple">
<dt class="field-odd">Parameters</dt>
<dd class="field-odd"><ul class="simple">
<li><p><strong>chart</strong> -- pointer to a chart object </p></li>
<li><p><strong>coord</strong> -- the coordination of the point relative to the series area. </p></li>
</ul>
</dd>
<dt class="field-even">Returns</dt>
<dd class="field-even"><p>the found index </p>
</dd>
</dl>
</dd></dl>

<dl class="cpp function">
<dt id="_CPPv425lv_chart_get_x_from_indexP8lv_obj_tP17lv_chart_series_t8uint16_t">
<span id="_CPPv325lv_chart_get_x_from_indexP8lv_obj_tP17lv_chart_series_t8uint16_t"></span><span id="_CPPv225lv_chart_get_x_from_indexP8lv_obj_tP17lv_chart_series_t8uint16_t"></span><span id="lv_chart_get_x_from_index__lv_obj_tP.lv_chart_series_tP.uint16_t"></span><span class="target" id="lv__chart_8h_1a2c1939c24cca455e6f0c408111c6b540"></span><span class="pre">lv_coord_t</span> <code class="sig-name descname"><span class="pre">lv_chart_get_x_from_index</span></code><span class="sig-paren">(</span><a class="reference internal" href="obj.html#_CPPv48lv_obj_t" title="lv_obj_t"><span class="pre">lv_obj_t</span></a> <span class="pre">*</span><em><span class="pre">chart</span></em>, <a class="reference internal" href="#_CPPv417lv_chart_series_t" title="lv_chart_series_t"><span class="pre">lv_chart_series_t</span></a> <span class="pre">*</span><em><span class="pre">ser</span></em>, <span class="pre">uint16_t</span> <em><span class="pre">id</span></em><span class="sig-paren">)</span><a class="headerlink" href="#_CPPv425lv_chart_get_x_from_indexP8lv_obj_tP17lv_chart_series_t8uint16_t" title="Permalink to this definition">¶</a><br /></dt>
<dd><p>Get the x coordinate of the an index with respect to the origin of series area of the chart. </p>
<dl class="field-list simple">
<dt class="field-odd">Parameters</dt>
<dd class="field-odd"><ul class="simple">
<li><p><strong>chart</strong> -- pointer to a chart object </p></li>
<li><p><strong>ser</strong> -- pointer to series </p></li>
<li><p><strong>id</strong> -- the index. </p></li>
</ul>
</dd>
<dt class="field-even">Returns</dt>
<dd class="field-even"><p>x coordinate of index </p>
</dd>
</dl>
</dd></dl>

<dl class="cpp function">
<dt id="_CPPv425lv_chart_get_y_from_indexP8lv_obj_tP17lv_chart_series_t8uint16_t">
<span id="_CPPv325lv_chart_get_y_from_indexP8lv_obj_tP17lv_chart_series_t8uint16_t"></span><span id="_CPPv225lv_chart_get_y_from_indexP8lv_obj_tP17lv_chart_series_t8uint16_t"></span><span id="lv_chart_get_y_from_index__lv_obj_tP.lv_chart_series_tP.uint16_t"></span><span class="target" id="lv__chart_8h_1a8cc65ca0c5688baa83c6b6ee9f46d47c"></span><span class="pre">lv_coord_t</span> <code class="sig-name descname"><span class="pre">lv_chart_get_y_from_index</span></code><span class="sig-paren">(</span><a class="reference internal" href="obj.html#_CPPv48lv_obj_t" title="lv_obj_t"><span class="pre">lv_obj_t</span></a> <span class="pre">*</span><em><span class="pre">chart</span></em>, <a class="reference internal" href="#_CPPv417lv_chart_series_t" title="lv_chart_series_t"><span class="pre">lv_chart_series_t</span></a> <span class="pre">*</span><em><span class="pre">ser</span></em>, <span class="pre">uint16_t</span> <em><span class="pre">id</span></em><span class="sig-paren">)</span><a class="headerlink" href="#_CPPv425lv_chart_get_y_from_indexP8lv_obj_tP17lv_chart_series_t8uint16_t" title="Permalink to this definition">¶</a><br /></dt>
<dd><p>Get the y coordinate of the an index with respect to the origin of series area of the chart. </p>
<dl class="field-list simple">
<dt class="field-odd">Parameters</dt>
<dd class="field-odd"><ul class="simple">
<li><p><strong>chart</strong> -- pointer to a chart object </p></li>
<li><p><strong>ser</strong> -- pointer to series </p></li>
<li><p><strong>id</strong> -- the index. </p></li>
</ul>
</dd>
<dt class="field-even">Returns</dt>
<dd class="field-even"><p>y coordinate of index </p>
</dd>
</dl>
</dd></dl>

<dl class="cpp function">
<dt id="_CPPv416lv_chart_refreshP8lv_obj_t">
<span id="_CPPv316lv_chart_refreshP8lv_obj_t"></span><span id="_CPPv216lv_chart_refreshP8lv_obj_t"></span><span id="lv_chart_refresh__lv_obj_tP"></span><span class="target" id="lv__chart_8h_1a38cd247acd91a3291cea2ffecf5a18b6"></span><span class="pre">void</span> <code class="sig-name descname"><span class="pre">lv_chart_refresh</span></code><span class="sig-paren">(</span><a class="reference internal" href="obj.html#_CPPv48lv_obj_t" title="lv_obj_t"><span class="pre">lv_obj_t</span></a> <span class="pre">*</span><em><span class="pre">chart</span></em><span class="sig-paren">)</span><a class="headerlink" href="#_CPPv416lv_chart_refreshP8lv_obj_t" title="Permalink to this definition">¶</a><br /></dt>
<dd><p>Refresh a chart if its data line has changed </p>
<dl class="field-list simple">
<dt class="field-odd">Parameters</dt>
<dd class="field-odd"><p><strong>chart</strong> -- pointer to chart object </p>
</dd>
</dl>
</dd></dl>

</div>
<dl class="cpp struct">
<dt id="_CPPv417lv_chart_series_t">
<span id="_CPPv317lv_chart_series_t"></span><span id="_CPPv217lv_chart_series_t"></span><span id="lv_chart_series_t"></span><span class="target" id="structlv__chart__series__t"></span><em class="property"><span class="pre">struct</span> </em><code class="sig-name descname"><span class="pre">lv_chart_series_t</span></code><a class="headerlink" href="#_CPPv417lv_chart_series_t" title="Permalink to this definition">¶</a><br /></dt>
<dd><div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric" id="breathe-section-title-public-members">Public Members</p>
<dl class="cpp var">
<dt id="_CPPv4N17lv_chart_series_t6pointsE">
<span id="_CPPv3N17lv_chart_series_t6pointsE"></span><span id="_CPPv2N17lv_chart_series_t6pointsE"></span><span id="lv_chart_series_t::points__lv_coord_tP"></span><span class="target" id="structlv__chart__series__t_1ad5f48678823de3abe1dccc263f616f44"></span><span class="pre">lv_coord_t</span> <span class="pre">*</span><code class="sig-name descname"><span class="pre">points</span></code><a class="headerlink" href="#_CPPv4N17lv_chart_series_t6pointsE" title="Permalink to this definition">¶</a><br /></dt>
<dd></dd></dl>

<dl class="cpp var">
<dt id="_CPPv4N17lv_chart_series_t5colorE">
<span id="_CPPv3N17lv_chart_series_t5colorE"></span><span id="_CPPv2N17lv_chart_series_t5colorE"></span><span id="lv_chart_series_t::color__lv_color_t"></span><span class="target" id="structlv__chart__series__t_1ab998e579db24aa8522b84b686ac65bac"></span><span class="pre">lv_color_t</span> <code class="sig-name descname"><span class="pre">color</span></code><a class="headerlink" href="#_CPPv4N17lv_chart_series_t5colorE" title="Permalink to this definition">¶</a><br /></dt>
<dd></dd></dl>

<dl class="cpp var">
<dt id="_CPPv4N17lv_chart_series_t11start_pointE">
<span id="_CPPv3N17lv_chart_series_t11start_pointE"></span><span id="_CPPv2N17lv_chart_series_t11start_pointE"></span><span id="lv_chart_series_t::start_point__uint16_t"></span><span class="target" id="structlv__chart__series__t_1ad98c186d0f75bab086140f59dc24f833"></span><span class="pre">uint16_t</span> <code class="sig-name descname"><span class="pre">start_point</span></code><a class="headerlink" href="#_CPPv4N17lv_chart_series_t11start_pointE" title="Permalink to this definition">¶</a><br /></dt>
<dd></dd></dl>

<dl class="cpp var">
<dt id="_CPPv4N17lv_chart_series_t16ext_buf_assignedE">
<span id="_CPPv3N17lv_chart_series_t16ext_buf_assignedE"></span><span id="_CPPv2N17lv_chart_series_t16ext_buf_assignedE"></span><span id="lv_chart_series_t::ext_buf_assigned__uint8_t"></span><span class="target" id="structlv__chart__series__t_1a2cdfb13ff7e421a367771db1430e2a20"></span><span class="pre">uint8_t</span> <code class="sig-name descname"><span class="pre">ext_buf_assigned</span></code><a class="headerlink" href="#_CPPv4N17lv_chart_series_t16ext_buf_assignedE" title="Permalink to this definition">¶</a><br /></dt>
<dd></dd></dl>

<dl class="cpp var">
<dt id="_CPPv4N17lv_chart_series_t6hiddenE">
<span id="_CPPv3N17lv_chart_series_t6hiddenE"></span><span id="_CPPv2N17lv_chart_series_t6hiddenE"></span><span id="lv_chart_series_t::hidden__uint8_t"></span><span class="target" id="structlv__chart__series__t_1a36bca1693831a7b81de49c94f5098659"></span><span class="pre">uint8_t</span> <code class="sig-name descname"><span class="pre">hidden</span></code><a class="headerlink" href="#_CPPv4N17lv_chart_series_t6hiddenE" title="Permalink to this definition">¶</a><br /></dt>
<dd></dd></dl>

<dl class="cpp var">
<dt id="_CPPv4N17lv_chart_series_t6y_axisE">
<span id="_CPPv3N17lv_chart_series_t6y_axisE"></span><span id="_CPPv2N17lv_chart_series_t6y_axisE"></span><span id="lv_chart_series_t::y_axis__lv_chart_axis_t"></span><span class="target" id="structlv__chart__series__t_1a335ee1760c3832c9679560ca1721d483"></span><a class="reference internal" href="#_CPPv415lv_chart_axis_t" title="lv_chart_axis_t"><span class="pre">lv_chart_axis_t</span></a> <code class="sig-name descname"><span class="pre">y_axis</span></code><a class="headerlink" href="#_CPPv4N17lv_chart_series_t6y_axisE" title="Permalink to this definition">¶</a><br /></dt>
<dd></dd></dl>

</div>
</dd></dl>

<dl class="cpp struct">
<dt id="_CPPv417lv_chart_cursor_t">
<span id="_CPPv317lv_chart_cursor_t"></span><span id="_CPPv217lv_chart_cursor_t"></span><span id="lv_chart_cursor_t"></span><span class="target" id="structlv__chart__cursor__t"></span><em class="property"><span class="pre">struct</span> </em><code class="sig-name descname"><span class="pre">lv_chart_cursor_t</span></code><a class="headerlink" href="#_CPPv417lv_chart_cursor_t" title="Permalink to this definition">¶</a><br /></dt>
<dd><div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric" id="breathe-section-title-public-members">Public Members</p>
<dl class="cpp var">
<dt id="_CPPv4N17lv_chart_cursor_t5pointE">
<span id="_CPPv3N17lv_chart_cursor_t5pointE"></span><span id="_CPPv2N17lv_chart_cursor_t5pointE"></span><span id="lv_chart_cursor_t::point__lv_point_t"></span><span class="target" id="structlv__chart__cursor__t_1a1fffc90bb9e1cda861e195d4c96f290d"></span><span class="pre">lv_point_t</span> <code class="sig-name descname"><span class="pre">point</span></code><a class="headerlink" href="#_CPPv4N17lv_chart_cursor_t5pointE" title="Permalink to this definition">¶</a><br /></dt>
<dd></dd></dl>

<dl class="cpp var">
<dt id="_CPPv4N17lv_chart_cursor_t5colorE">
<span id="_CPPv3N17lv_chart_cursor_t5colorE"></span><span id="_CPPv2N17lv_chart_cursor_t5colorE"></span><span id="lv_chart_cursor_t::color__lv_color_t"></span><span class="target" id="structlv__chart__cursor__t_1adc7c21318c06a41429581a7db7bb9717"></span><span class="pre">lv_color_t</span> <code class="sig-name descname"><span class="pre">color</span></code><a class="headerlink" href="#_CPPv4N17lv_chart_cursor_t5colorE" title="Permalink to this definition">¶</a><br /></dt>
<dd></dd></dl>

<dl class="cpp var">
<dt id="_CPPv4N17lv_chart_cursor_t4axesE">
<span id="_CPPv3N17lv_chart_cursor_t4axesE"></span><span id="_CPPv2N17lv_chart_cursor_t4axesE"></span><span id="lv_chart_cursor_t::axes__lv_cursor_direction_t"></span><span class="target" id="structlv__chart__cursor__t_1acb4f4bf8cca3dc7d5222b817915d4541"></span><a class="reference internal" href="#_CPPv421lv_cursor_direction_t" title="lv_cursor_direction_t"><span class="pre">lv_cursor_direction_t</span></a> <code class="sig-name descname"><span class="pre">axes</span></code><a class="headerlink" href="#_CPPv4N17lv_chart_cursor_t4axesE" title="Permalink to this definition">¶</a><br /></dt>
<dd></dd></dl>

</div>
</dd></dl>

<dl class="cpp struct">
<dt id="_CPPv419lv_chart_axis_cfg_t">
<span id="_CPPv319lv_chart_axis_cfg_t"></span><span id="_CPPv219lv_chart_axis_cfg_t"></span><span id="lv_chart_axis_cfg_t"></span><span class="target" id="structlv__chart__axis__cfg__t"></span><em class="property"><span class="pre">struct</span> </em><code class="sig-name descname"><span class="pre">lv_chart_axis_cfg_t</span></code><a class="headerlink" href="#_CPPv419lv_chart_axis_cfg_t" title="Permalink to this definition">¶</a><br /></dt>
<dd><div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric" id="breathe-section-title-public-members">Public Members</p>
<dl class="cpp var">
<dt id="_CPPv4N19lv_chart_axis_cfg_t14list_of_valuesE">
<span id="_CPPv3N19lv_chart_axis_cfg_t14list_of_valuesE"></span><span id="_CPPv2N19lv_chart_axis_cfg_t14list_of_valuesE"></span><span id="lv_chart_axis_cfg_t::list_of_values__cCP"></span><span class="target" id="structlv__chart__axis__cfg__t_1a076f8e1c36c92e67ceb452ee305c2151"></span><em class="property"><span class="pre">const</span></em> <span class="pre">char</span> <span class="pre">*</span><code class="sig-name descname"><span class="pre">list_of_values</span></code><a class="headerlink" href="#_CPPv4N19lv_chart_axis_cfg_t14list_of_valuesE" title="Permalink to this definition">¶</a><br /></dt>
<dd></dd></dl>

<dl class="cpp var">
<dt id="_CPPv4N19lv_chart_axis_cfg_t7optionsE">
<span id="_CPPv3N19lv_chart_axis_cfg_t7optionsE"></span><span id="_CPPv2N19lv_chart_axis_cfg_t7optionsE"></span><span id="lv_chart_axis_cfg_t::options__lv_chart_axis_options_t"></span><span class="target" id="structlv__chart__axis__cfg__t_1acacfd3e00026ca18f7efd07d302ded58"></span><a class="reference internal" href="#_CPPv423lv_chart_axis_options_t" title="lv_chart_axis_options_t"><span class="pre">lv_chart_axis_options_t</span></a> <code class="sig-name descname"><span class="pre">options</span></code><a class="headerlink" href="#_CPPv4N19lv_chart_axis_cfg_t7optionsE" title="Permalink to this definition">¶</a><br /></dt>
<dd></dd></dl>

<dl class="cpp var">
<dt id="_CPPv4N19lv_chart_axis_cfg_t14num_tick_marksE">
<span id="_CPPv3N19lv_chart_axis_cfg_t14num_tick_marksE"></span><span id="_CPPv2N19lv_chart_axis_cfg_t14num_tick_marksE"></span><span id="lv_chart_axis_cfg_t::num_tick_marks__uint8_t"></span><span class="target" id="structlv__chart__axis__cfg__t_1ae2ef359bacc00714f32adc24647a17ac"></span><span class="pre">uint8_t</span> <code class="sig-name descname"><span class="pre">num_tick_marks</span></code><a class="headerlink" href="#_CPPv4N19lv_chart_axis_cfg_t14num_tick_marksE" title="Permalink to this definition">¶</a><br /></dt>
<dd></dd></dl>

<dl class="cpp var">
<dt id="_CPPv4N19lv_chart_axis_cfg_t14major_tick_lenE">
<span id="_CPPv3N19lv_chart_axis_cfg_t14major_tick_lenE"></span><span id="_CPPv2N19lv_chart_axis_cfg_t14major_tick_lenE"></span><span id="lv_chart_axis_cfg_t::major_tick_len__uint8_t"></span><span class="target" id="structlv__chart__axis__cfg__t_1a26d7005eb3e7bfb92d1280a98cdac146"></span><span class="pre">uint8_t</span> <code class="sig-name descname"><span class="pre">major_tick_len</span></code><a class="headerlink" href="#_CPPv4N19lv_chart_axis_cfg_t14major_tick_lenE" title="Permalink to this definition">¶</a><br /></dt>
<dd></dd></dl>

<dl class="cpp var">
<dt id="_CPPv4N19lv_chart_axis_cfg_t14minor_tick_lenE">
<span id="_CPPv3N19lv_chart_axis_cfg_t14minor_tick_lenE"></span><span id="_CPPv2N19lv_chart_axis_cfg_t14minor_tick_lenE"></span><span id="lv_chart_axis_cfg_t::minor_tick_len__uint8_t"></span><span class="target" id="structlv__chart__axis__cfg__t_1a0bbe4465b76af17e841a36251a9a53d0"></span><span class="pre">uint8_t</span> <code class="sig-name descname"><span class="pre">minor_tick_len</span></code><a class="headerlink" href="#_CPPv4N19lv_chart_axis_cfg_t14minor_tick_lenE" title="Permalink to this definition">¶</a><br /></dt>
<dd></dd></dl>

</div>
</dd></dl>

<dl class="cpp struct">
<dt id="_CPPv414lv_chart_ext_t">
<span id="_CPPv314lv_chart_ext_t"></span><span id="_CPPv214lv_chart_ext_t"></span><span id="lv_chart_ext_t"></span><span class="target" id="structlv__chart__ext__t"></span><em class="property"><span class="pre">struct</span> </em><code class="sig-name descname"><span class="pre">lv_chart_ext_t</span></code><a class="headerlink" href="#_CPPv414lv_chart_ext_t" title="Permalink to this definition">¶</a><br /></dt>
<dd><div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric" id="breathe-section-title-public-members">Public Members</p>
<dl class="cpp var">
<dt id="_CPPv4N14lv_chart_ext_t9series_llE">
<span id="_CPPv3N14lv_chart_ext_t9series_llE"></span><span id="_CPPv2N14lv_chart_ext_t9series_llE"></span><span id="lv_chart_ext_t::series_ll__lv_ll_t"></span><span class="target" id="structlv__chart__ext__t_1a80f9e02ef7b2c1b15fb71215f692e3de"></span><span class="pre">lv_ll_t</span> <code class="sig-name descname"><span class="pre">series_ll</span></code><a class="headerlink" href="#_CPPv4N14lv_chart_ext_t9series_llE" title="Permalink to this definition">¶</a><br /></dt>
<dd></dd></dl>

<dl class="cpp var">
<dt id="_CPPv4N14lv_chart_ext_t10cursors_llE">
<span id="_CPPv3N14lv_chart_ext_t10cursors_llE"></span><span id="_CPPv2N14lv_chart_ext_t10cursors_llE"></span><span id="lv_chart_ext_t::cursors_ll__lv_ll_t"></span><span class="target" id="structlv__chart__ext__t_1ab4da829324411e6ab7800bf021cfbc97"></span><span class="pre">lv_ll_t</span> <code class="sig-name descname"><span class="pre">cursors_ll</span></code><a class="headerlink" href="#_CPPv4N14lv_chart_ext_t10cursors_llE" title="Permalink to this definition">¶</a><br /></dt>
<dd></dd></dl>

<dl class="cpp var">
<dt id="_CPPv4N14lv_chart_ext_t4yminE">
<span id="_CPPv3N14lv_chart_ext_t4yminE"></span><span id="_CPPv2N14lv_chart_ext_t4yminE"></span><span id="lv_chart_ext_t::ymin__lv_coord_tA"></span><span class="target" id="structlv__chart__ext__t_1a98cbcfabba2a9ffdcf04cc54592c8038"></span><span class="pre">lv_coord_t</span> <code class="sig-name descname"><span class="pre">ymin</span></code><span class="pre">[</span><code class="sig-name descname"><span class="pre">_LV_CHART_AXIS_LAST</span></code><span class="pre">]</span><a class="headerlink" href="#_CPPv4N14lv_chart_ext_t4yminE" title="Permalink to this definition">¶</a><br /></dt>
<dd></dd></dl>

<dl class="cpp var">
<dt id="_CPPv4N14lv_chart_ext_t4ymaxE">
<span id="_CPPv3N14lv_chart_ext_t4ymaxE"></span><span id="_CPPv2N14lv_chart_ext_t4ymaxE"></span><span id="lv_chart_ext_t::ymax__lv_coord_tA"></span><span class="target" id="structlv__chart__ext__t_1a910a70995e59562cbc8a77000bea79c8"></span><span class="pre">lv_coord_t</span> <code class="sig-name descname"><span class="pre">ymax</span></code><span class="pre">[</span><code class="sig-name descname"><span class="pre">_LV_CHART_AXIS_LAST</span></code><span class="pre">]</span><a class="headerlink" href="#_CPPv4N14lv_chart_ext_t4ymaxE" title="Permalink to this definition">¶</a><br /></dt>
<dd></dd></dl>

<dl class="cpp var">
<dt id="_CPPv4N14lv_chart_ext_t8hdiv_cntE">
<span id="_CPPv3N14lv_chart_ext_t8hdiv_cntE"></span><span id="_CPPv2N14lv_chart_ext_t8hdiv_cntE"></span><span id="lv_chart_ext_t::hdiv_cnt__uint8_t"></span><span class="target" id="structlv__chart__ext__t_1afaa3a23ce6c551ab39fb9119811d0971"></span><span class="pre">uint8_t</span> <code class="sig-name descname"><span class="pre">hdiv_cnt</span></code><a class="headerlink" href="#_CPPv4N14lv_chart_ext_t8hdiv_cntE" title="Permalink to this definition">¶</a><br /></dt>
<dd></dd></dl>

<dl class="cpp var">
<dt id="_CPPv4N14lv_chart_ext_t8vdiv_cntE">
<span id="_CPPv3N14lv_chart_ext_t8vdiv_cntE"></span><span id="_CPPv2N14lv_chart_ext_t8vdiv_cntE"></span><span id="lv_chart_ext_t::vdiv_cnt__uint8_t"></span><span class="target" id="structlv__chart__ext__t_1afe741be6519bf36f55c104e2a0c9f451"></span><span class="pre">uint8_t</span> <code class="sig-name descname"><span class="pre">vdiv_cnt</span></code><a class="headerlink" href="#_CPPv4N14lv_chart_ext_t8vdiv_cntE" title="Permalink to this definition">¶</a><br /></dt>
<dd></dd></dl>

<dl class="cpp var">
<dt id="_CPPv4N14lv_chart_ext_t9point_cntE">
<span id="_CPPv3N14lv_chart_ext_t9point_cntE"></span><span id="_CPPv2N14lv_chart_ext_t9point_cntE"></span><span id="lv_chart_ext_t::point_cnt__uint16_t"></span><span class="target" id="structlv__chart__ext__t_1a184e7fea8a0be4dffc8884542be7c4a7"></span><span class="pre">uint16_t</span> <code class="sig-name descname"><span class="pre">point_cnt</span></code><a class="headerlink" href="#_CPPv4N14lv_chart_ext_t9point_cntE" title="Permalink to this definition">¶</a><br /></dt>
<dd></dd></dl>

<dl class="cpp var">
<dt id="_CPPv4N14lv_chart_ext_t15style_series_bgE">
<span id="_CPPv3N14lv_chart_ext_t15style_series_bgE"></span><span id="_CPPv2N14lv_chart_ext_t15style_series_bgE"></span><span id="lv_chart_ext_t::style_series_bg__lv_style_list_t"></span><span class="target" id="structlv__chart__ext__t_1a1a955e44efe09c272c3bc7de0d8c2e45"></span><a class="reference internal" href="../overview/style.html#_CPPv415lv_style_list_t" title="lv_style_list_t"><span class="pre">lv_style_list_t</span></a> <code class="sig-name descname"><span class="pre">style_series_bg</span></code><a class="headerlink" href="#_CPPv4N14lv_chart_ext_t15style_series_bgE" title="Permalink to this definition">¶</a><br /></dt>
<dd></dd></dl>

<dl class="cpp var">
<dt id="_CPPv4N14lv_chart_ext_t12style_seriesE">
<span id="_CPPv3N14lv_chart_ext_t12style_seriesE"></span><span id="_CPPv2N14lv_chart_ext_t12style_seriesE"></span><span id="lv_chart_ext_t::style_series__lv_style_list_t"></span><span class="target" id="structlv__chart__ext__t_1a3ad096b0c601b75369ca3e1fc4260d13"></span><a class="reference internal" href="../overview/style.html#_CPPv415lv_style_list_t" title="lv_style_list_t"><span class="pre">lv_style_list_t</span></a> <code class="sig-name descname"><span class="pre">style_series</span></code><a class="headerlink" href="#_CPPv4N14lv_chart_ext_t12style_seriesE" title="Permalink to this definition">¶</a><br /></dt>
<dd></dd></dl>

<dl class="cpp var">
<dt id="_CPPv4N14lv_chart_ext_t13style_cursorsE">
<span id="_CPPv3N14lv_chart_ext_t13style_cursorsE"></span><span id="_CPPv2N14lv_chart_ext_t13style_cursorsE"></span><span id="lv_chart_ext_t::style_cursors__lv_style_list_t"></span><span class="target" id="structlv__chart__ext__t_1a2a79a5976b5e88939fa1c857bb8308cf"></span><a class="reference internal" href="../overview/style.html#_CPPv415lv_style_list_t" title="lv_style_list_t"><span class="pre">lv_style_list_t</span></a> <code class="sig-name descname"><span class="pre">style_cursors</span></code><a class="headerlink" href="#_CPPv4N14lv_chart_ext_t13style_cursorsE" title="Permalink to this definition">¶</a><br /></dt>
<dd></dd></dl>

<dl class="cpp var">
<dt id="_CPPv4N14lv_chart_ext_t4typeE">
<span id="_CPPv3N14lv_chart_ext_t4typeE"></span><span id="_CPPv2N14lv_chart_ext_t4typeE"></span><span id="lv_chart_ext_t::type__lv_chart_type_t"></span><span class="target" id="structlv__chart__ext__t_1accf1de9ab5bd6515ac902771cc1901af"></span><a class="reference internal" href="#_CPPv415lv_chart_type_t" title="lv_chart_type_t"><span class="pre">lv_chart_type_t</span></a> <code class="sig-name descname"><span class="pre">type</span></code><a class="headerlink" href="#_CPPv4N14lv_chart_ext_t4typeE" title="Permalink to this definition">¶</a><br /></dt>
<dd></dd></dl>

<dl class="cpp var">
<dt id="_CPPv4N14lv_chart_ext_t6y_axisE">
<span id="_CPPv3N14lv_chart_ext_t6y_axisE"></span><span id="_CPPv2N14lv_chart_ext_t6y_axisE"></span><span id="lv_chart_ext_t::y_axis__lv_chart_axis_cfg_t"></span><span class="target" id="structlv__chart__ext__t_1a0c8ab36d5261a7c4822a9b19acfc8a73"></span><a class="reference internal" href="#_CPPv419lv_chart_axis_cfg_t" title="lv_chart_axis_cfg_t"><span class="pre">lv_chart_axis_cfg_t</span></a> <code class="sig-name descname"><span class="pre">y_axis</span></code><a class="headerlink" href="#_CPPv4N14lv_chart_ext_t6y_axisE" title="Permalink to this definition">¶</a><br /></dt>
<dd></dd></dl>

<dl class="cpp var">
<dt id="_CPPv4N14lv_chart_ext_t6x_axisE">
<span id="_CPPv3N14lv_chart_ext_t6x_axisE"></span><span id="_CPPv2N14lv_chart_ext_t6x_axisE"></span><span id="lv_chart_ext_t::x_axis__lv_chart_axis_cfg_t"></span><span class="target" id="structlv__chart__ext__t_1ab7d47561bca2358fe58d126ae23beba7"></span><a class="reference internal" href="#_CPPv419lv_chart_axis_cfg_t" title="lv_chart_axis_cfg_t"><span class="pre">lv_chart_axis_cfg_t</span></a> <code class="sig-name descname"><span class="pre">x_axis</span></code><a class="headerlink" href="#_CPPv4N14lv_chart_ext_t6x_axisE" title="Permalink to this definition">¶</a><br /></dt>
<dd></dd></dl>

<dl class="cpp var">
<dt id="_CPPv4N14lv_chart_ext_t16secondary_y_axisE">
<span id="_CPPv3N14lv_chart_ext_t16secondary_y_axisE"></span><span id="_CPPv2N14lv_chart_ext_t16secondary_y_axisE"></span><span id="lv_chart_ext_t::secondary_y_axis__lv_chart_axis_cfg_t"></span><span class="target" id="structlv__chart__ext__t_1a7857f174fc02b9a204844e79a941ce10"></span><a class="reference internal" href="#_CPPv419lv_chart_axis_cfg_t" title="lv_chart_axis_cfg_t"><span class="pre">lv_chart_axis_cfg_t</span></a> <code class="sig-name descname"><span class="pre">secondary_y_axis</span></code><a class="headerlink" href="#_CPPv4N14lv_chart_ext_t16secondary_y_axisE" title="Permalink to this definition">¶</a><br /></dt>
<dd></dd></dl>

<dl class="cpp var">
<dt id="_CPPv4N14lv_chart_ext_t11update_modeE">
<span id="_CPPv3N14lv_chart_ext_t11update_modeE"></span><span id="_CPPv2N14lv_chart_ext_t11update_modeE"></span><span id="lv_chart_ext_t::update_mode__uint8_t"></span><span class="target" id="structlv__chart__ext__t_1a126ff3ab312d4fb14317e43f7ff62b77"></span><span class="pre">uint8_t</span> <code class="sig-name descname"><span class="pre">update_mode</span></code><a class="headerlink" href="#_CPPv4N14lv_chart_ext_t11update_modeE" title="Permalink to this definition">¶</a><br /></dt>
<dd></dd></dl>

</div>
</dd></dl>

</div>
</div>


           </div>
           
          </div>
          <footer>
  
    <div class="rst-footer-buttons" role="navigation" aria-label="footer navigation">
      
        <a href="cont.html" class="btn btn-neutral float-right" title="Container (lv_cont)" accesskey="n" rel="next">Next <span class="fa fa-arrow-circle-right"></span></a>
      
      
        <a href="checkbox.html" class="btn btn-neutral float-left" title="Checkbox (lv_cb)" accesskey="p" rel="prev"><span class="fa fa-arrow-circle-left"></span> Previous</a>
      
    </div>
  

  <hr/>

  <div role="contentinfo">
    <p>
        
        &copy; Copyright 2020, LVGL LLC
      <span class="lastupdated">
        Last updated on May 14, 2021.
      </span>

    </p>
  </div>
    
    
    
    Built with <a href="http://sphinx-doc.org/">Sphinx</a> using a
    
    <a href="https://github.com/rtfd/sphinx_rtd_theme">theme</a>
    
    provided by <a href="https://readthedocs.org">Read the Docs</a>. 

</footer>

        </div>
      </div>

    </section>

  </div>
  

  <script type="text/javascript">
      jQuery(function () {
          SphinxRtdTheme.Navigation.enable(true);
      });
  </script>

  
  
    
  

 <script type="text/javascript">
    $(document).ready(function() {
        $(".toggle > *").hide();
        $(".toggle .header").show();
        $(".toggle .header").click(function() {
            $(this).parent().children().not(".header").toggle(400);
            $(this).parent().children(".header").toggleClass("open");
        })
    });
</script>

<script type="text/javascript">
function add_version_selector()
{
    return fetch("https://raw.githubusercontent.com/lvgl/docs_compiled/gh-pages/versionlist.txt")
        .then(res => res.text())
        .then(text => {
            const versions = text.split("\n").filter(version => version.trim().length > 0);
            p = document.getElementById("rtd-search-form").parentElement;
            p.innerHTML = `
            <select name="versions" id="versions" onchange="ver_sel()" style="border-radius:5px; margin-bottom:15px">
            ${versions.map(version => `<option value="${version}">${version}</option>`)}
            </select>` + p.innerHTML;
        });
}

function ver_sel()
{
  var x = document.getElementById("versions").value;
  window.location.href = window.location.protocol + "//" + window.location.host + "/" + x + "/";
}

document.addEventListener('DOMContentLoaded', (event) => {
    add_version_selector().then(() => {
        var value = window.location.pathname.split('/')[1];
        document.getElementById("versions").value = value;
    });
    
})
</script>


</body>
</html>